no login for admin

More
13 years 11 months ago #1626 by Janvanduren
I'm trying to login in the admin screen and I'm getting the next errors:
Code:
Warning: main() [function.main]: open_basedir restriction in effect. File(../config.php) is not within the allowed path(s): (.:/tmp) in /ext/a/an/antonvandaalen.nl/html/gastenboek/admin/login.php on line 9 Warning: main(../config.php) [function.main]: failed to open stream: Operation not permitted in /ext/a/an/antonvandaalen.nl/html/gastenboek/admin/login.php on line 9 Warning: main() [function.include]: Failed opening '../config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /ext/a/an/antonvandaalen.nl/html/gastenboek/admin/login.php on line 9 Warning: Cannot modify header information - headers already sent by (output started at /ext/a/an/antonvandaalen.nl/html/gastenboek/admin/login.php:9) in /ext/a/an/antonvandaalen.nl/html/gastenboek/admin/login.php on line 43

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #1627 by Pete
Replied by Pete on topic no login for admin
Those are actually all warnings, not errors. Are you able to log in ok? If so you can safely ignore them.

If you don't want to see the warnings in your php.ini file turn off warnings.

Thanks,
Pete

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #1628 by Janvanduren
Replied by Janvanduren on topic no login for admin

Pete wrote: Those are actually all warnings, not errors. Are you able to log in ok? If so you can safely ignore them.

If you don't want to see the warnings in your php.ini file turn off warnings.

Thanks,
Pete


Hi Pete,

Thanks for the answer. But there is no such file named php.ini.

But the log in is still not working fine. After I give in user and password nothing is happening. I'm coming back in the same inputfields.

regards

Jan van Duren

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #1629 by Pete
Replied by Pete on topic no login for admin
Looks like the problem may be due to the fact that your webhost has put the "open_Basedir" into effect. Here is a good article on how to work around it. You may have to work with your webhost on doing this:

www.mydigitallife.info/2007/03/1 ... ect-error/
Code:
If you’re using Plesk hosting control panel, you may need to manually edit Apache configuration file of vhost.conf and vhost_ssl.conf, and add in or edit the following php_admin_value open_basedir lines to the following: <Directory /full/path/to/the/directory/httpdocs> php_admin_value open_basedir none </Directory> <Directory /full/path/to/the/directory/httpdocs> php_admin_value open_basedir /full/path/to/dir:/full/path/to/directory/httpdocs:/tmp </Directory>

Pete

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum