Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Blank page, MySQL Database Error? (http://www.mysidiaadoptables.com/forum/showthread.php?t=4744)

Kyttias 01-17-2015 01:20 AM

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.

MeinKat 01-17-2015 12:32 PM

Tried that. Still doesn't work. I don't have an error_log file yet, so I just added error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

at the beginning of the php code for the login page, and it seems to be an error with AppController. Here's what is reads:

Fatal error: Class 'AppController' not found in /home/kyandiip/public_html/login.php on line 8

Earlier I did another one of these error code things, and took a screenshot of what appeared:
  Spoiler: clicketh 

Kyttias 01-17-2015 01:33 PM

That's... really odd, assuming nothing has been modified at all. Or, rather, I'd put the error reporting inside the index() function, rather than the top of the page, if possible.

And I'm still not without errors, either. Everything is functional, but with a lot of notices and strict warnings.

Code:

Strict Standards: Declaration of DropdownList::add() should be compatible with GUIContainer::add(GUIComponent $component, $index = -1) in/srv/disk3/1793798/www/novul/classes/class_dropdownlist.php on line 197

and

Strict Standards:  Declaration of RadioList::add() should be compatible with GUIContainer::add(GUIComponent $component, $index = -1) in /srv/disk3/1793798/www/novul/classes/class_radiolist.php on line 68

And those are just on normal pages... (editting profile options, places with forms, obviously). But worse is that I can't access the adminCP:

Code:

Warning: require(../inc/config.php): failed to open stream: No such file or directory in /srv/disk3/1793798/www/novul/classes/class_initializer.php on line 97

Fatal error: require(): Failed opening required '../inc/config.php' (include_path='.:/usr/local/php-5.5.12/share/pear') in /srv/disk3/1793798/www/novul/classes/class_initializer.php on line 97

And I'm not sure why my main site does not have failed to open stream errors, just the adminCP.

I'm, of course, not on x10 Hosting. I'm actually trying out a free packing at WebFreeHosting.net. But the error was similar, so I thought I'd give a shot at posting. -o-; If I upgrade my package I can at least turn off warnings/notices/strict standards manually, as I do in my local WAMP setup.


All times are GMT -5. The time now is 04:07 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.