Advertisement:

Author Topic: problem from admin  (Read 669 times)

hallakdesign

  • Newbie
  • *
  • Posts: 22
problem from admin
« on: October 11, 2018, 02:42:02 pm »
when I click the link to admin this error appears

array(1) { ["page"]=> string(5) "login" }

array(7) { ["CSRFName"]=> string(25) "CSRF2115217490_1488629926" ["CSRFToken"]=> string(128) "0118c8c2a173ed0131148793b576f3dbdde9ab3861f0df5d8823e1dc57648b602c6ff79f5f3cd7af138b0a9bf9243fd6540c818e059b56a7670c95e9ce06d9b5" ["page"]=> string(5) "login" ["action"]=> string(10) "login_post" ["email"]=> string(20) "contato@00000.com.br" ["password"]=> string(8) "000000" ["remember"]=> string(1) "1" }
Warning: Cannot modify header information - headers already sent by (output started at /home/0000000000/public_html/oc-includes/osclass/utils.php:1744) in /home/classipredio/public_html/oc-includes/osclass/utils.php on line 1749

Aficionado

  • Guest
Re: problem from admin
« Reply #1 on: October 11, 2018, 03:04:33 pm »
Dude you have posted that several times, among other (sessions etc etc) problems.

Unsolved from what i see. Those are either from your hosting or some plugin or YOUR code changes i see below:

Quote
array(1) {
  ["sShowAs"]=>
  string(7) "gallery"
}
<!DOCTYPE html>
<html lang="pt-BR">
<head>
   <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title>CLASSIPRÉDIO</title>
« Last Edit: October 11, 2018, 03:07:34 pm by Aficionado »

hallakdesign

  • Newbie
  • *
  • Posts: 22
Re: problem from admin
« Reply #2 on: October 11, 2018, 03:28:37 pm »
Thanks, you have any idea how to fix it?

Aficionado

  • Guest
Re: problem from admin
« Reply #3 on: October 11, 2018, 03:32:09 pm »
Thanks, you have any idea how to fix it?

Me  ?, you did those modifications, how should i know ?

 ;)
« Last Edit: October 11, 2018, 03:52:16 pm by Aficionado »

WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: problem from admin
« Reply #4 on: October 11, 2018, 09:39:18 pm »
Hello,

Some function (plugin, functions.php...) is outputting data at the start of the PHP script which prevents redirecting and such stuff.
Disable all plugins one by one and look for some "fishy" code in functions.php, it looks like there's a code like this somewhere: "var_dump(Params::printParamsAsArray());".

Regards.

hallakdesign

  • Newbie
  • *
  • Posts: 22
Re: problem from admin
« Reply #5 on: October 12, 2018, 04:29:42 pm »
thanks, I followed your steps, I deleted all the plugins, but without success, now this error appears, could you please help me?

............

array(2) { ["page"]=> string(4) "item" ["action"]=> string(8) "item_add" }
Warning: Cannot modify header information - headers already sent by (output started at /home/................. MYSITE....... /public_html/oc-includes/osclass/utils.php:1744) in /home/................. MYSITE....... /public_html/oc-includes/osclass/utils.php on line 1749

WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: problem from admin
« Reply #6 on: October 12, 2018, 08:18:19 pm »
Still same, can you add your functions.php to check?

Regards.