Osclass forums

Support forums => General help => 3.8.x => Topic started by: hallakdesign on October 11, 2018, 02:42:02 pm

Title: problem from admin
Post by: hallakdesign 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
Title: Re: problem from admin
Post by: Aficionado 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>
Title: Re: problem from admin
Post by: hallakdesign on October 11, 2018, 03:28:37 pm
Thanks, you have any idea how to fix it?
Title: Re: problem from admin
Post by: Aficionado 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 ?

 ;)
Title: Re: problem from admin
Post by: WEBmods 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.
Title: Re: problem from admin
Post by: hallakdesign 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
Title: Re: problem from admin
Post by: WEBmods on October 12, 2018, 08:18:19 pm
Still same, can you add your functions.php to check?

Regards.