View Single Post
  #21  
Old 01-17-2015, 01:20 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,970
Kyttias is on a distinguished road
Default

Actually!!!

I just managed to fix the problem by adding a line to my .htaccess! After the first line, the very next line needs to have this:

Code:
RewriteBase /
Before continuing. @w@; At least that's definitely what solved my problems!

But now I have this error when I attempt to log in:

Code:
Warning: Cannot modify header information - headers already sent by 
(output started at /srv/disk3/1793798/www/novul/classes/class_template.php:354) 
in /srv/disk3/1793798/www/novul/classes/class_cookies.php 
on line 85

Warning: Cannot modify header information - headers already sent by 
(output started at /srv/disk3/1793798/www/novul/classes/class_template.php:354) 
in /srv/disk3/1793798/www/novul/classes/class_cookies.php 
on line 88

Warning: Cannot modify header information - headers already sent by 
(output started at /srv/disk3/1793798/www/novul/classes/class_template.php:354) 
in /srv/disk3/1793798/www/novul/classes/class_cookies.php 
on line 90

Warning: Cannot modify header information - headers already sent by 
(output started at /srv/disk3/1793798/www/novul/classes/class_template.php:354) 
in /srv/disk3/1793798/www/novul/classes/class_cookies.php 
on line 92
And while these are merely 'warnings' I also cannot log in. It says success but the site still insists I am logged out if I try to go anywhere. I also cannot access php.ini to turn off warnings.

I've read that these particular errors can be caused by improper file encoding (particularly UTF-8 BOM), but I've ruled that out, I think?

~!! Actually, I found the culprit. There was some trailing whitespace at the end of the document in class_template.php. Just pop on in and remove it.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 01-17-2015 at 02:06 AM.
Reply With Quote