View Full Version : Can't login, errors prevent it
RandomFrog
10-04-2014, 10:06 PM
So for my adopts site I cannot log in, because 3 errors appear at the top of the page. I know my username/password is correct, wrote it down.
I have no experience with coding at all. I've worked on this for a year exactly, and if I can't log in, I'll have to reinstall the site if it can't be fixed.
Here are the errors: (Blocking site name for privacy)
Strict Standards: Declaration of File::getBasename() should be compatible with SplFileInfo::getBasename($suffix = NULL) in /home/-----/public_html/classes/class_file.php on line 19
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/-----/public_html/classes/class_file.php:19) in /home/-----/public_html/classes/class_session.php on line 13
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/-----/public_html/classes/class_file.php:19) in /home/-----/public_html/classes/class_session.php on line 13
Can I get some help with this?
RandomFrog
10-04-2014, 10:34 PM
Well, I reset my password. Got more errors that take up half the page. If there is a way to update this so I don't get errors, please tell me!
Strict Standards: Declaration of File::getBasename() should be compatible with SplFileInfo::getBasename($suffix = NULL) in /home/----/public_html/classes/class_file.php on line 19
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/-----/public_html/classes/class_file.php:19) in /home/---/public_html/classes/class_session.php on line 13
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/----/public_html/classes/class_file.php:19) in /home/---/public_html/classes/class_session.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /home/----/public_html/classes/class_file.php:19) in /home/----/public_html/classes/class_cookies.php on line 85
Warning: Cannot modify header information - headers already sent by (output started at /home/----/public_html/classes/class_file.php:19) in /home/----/public_html/classes/class_cookies.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/----/public_html/classes/class_file.php:19) in /home/----/public_html/classes/class_cookies.php on line 90
Warning: Cannot modify header information - headers already sent by (output started at /home/-----/public_html/classes/class_file.php:19) in /home/-----/public_html/classes/class_cookies.php on line 92
IntoRain
10-04-2014, 10:34 PM
They are just warnings, it shouldn't influence the login. Here's how to remove them: http://www.mysidiaadoptables.com/forum/showpost.php?p=30299&postcount=13
You probably can't login because the first user sometimes doesn't work properly, so you have to create a second user and make it admin: http://www.mysidiaadoptables.com/forum/showthread.php?p=29925
RandomFrog
10-04-2014, 10:47 PM
Hello!
So for the errors, when I am trying to edit .htaccess, it just says this:
Mac OS X 2°âATTR;šÉÿâ˜J˜Jcom.apple.quarantine0 000;51fd78db;Safari;4C211FFE-121F-4F12-905B-F96BF0C4FE45|com.apple.SafariThis resource fork intentionally left blank ÿÿ
However, I am using Chrome. Does this have any effects?
IntoRain
10-04-2014, 10:53 PM
Nah, I also use chrome. That's the contents of your .htaccess or the error displayed on the page?
RandomFrog
10-04-2014, 10:57 PM
Those are the contents of my .htaccess, inside cPanel. I'm using the File Manager if that helps.
IntoRain
10-04-2014, 11:01 PM
Did you get the file from a git repository? These should be the original contents I believe:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png|ico)$ [NC]
RewriteRule ^(.*)$ index.php [QSA,L]
RewriteRule ^get/([0-9]+).gif$ /click/siggy/$1 [L]
Then you can add those lines from that post
RandomFrog
10-04-2014, 11:23 PM
Thank you, however in the code do I keep the brackets?
Another question. I made a system account ahead of time for notifications, now it says I've logged in but when I try to edit my account it still doesn't work. Should I make a third one?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.