4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: spacecapital on September 15, 2005, 10:28:51 PM
-
I installed my 4image 1.7.1 and can't access admin via control panel. The program is up and running but I can't get in the admin control panel area. I get the area that ask for the account and password and it say "logged in, redirect link" then it comes back and ask for the account and password again. What should I do to correct this problem?
SpaceCapital
-
1) you enter a wrong user/pass
2) have u tryed login from the main page?
-
it say "logged in, redirect link" then it comes back and ask for the account and password again.
It looks like your account info is correct but you seem to have an old version of PHP (or mySQL). To make sure, could you indicate which versions you have ?
-
I'm able to log in to 4image with no problem. I can't login into the admin control panel. I'm hosting my site on yahoo.com. Here is the information you asked for below:
phpmyadmin 2.5.0
mysql 4.1.12
php version 4.3.11
-
Is there away to bypass this process? Since I'm the admin, why does I have to log on again, could it just check something and go straigth to the admin control panel without me re-entering the username and password again?
SpaceCapital
-
Your little server specs looks fine. However, what does your ' session.auto_start ' options set at from your phpinfo ?
-
When I ran my phpinfo I get this information from the server:
session.auto_start local value master value
off off
I like to thank you for the help
spacecapital
-
Ask your web hosting party to configure their session.auto_start
from :
session.auto_start = 1;
into :
session.auto_start = 0;
in their php.ini file. ;)
This modification will clear out huge problems you might currently face in the ACP's login page.
-
So, are you saying that the local valve and master valve need to be change? or should I have a different area changed?
Is there anything I can do if they don't want to change this setting for session.auto_start?
SpaceCapital
-
So, are you saying that the local valve and master valve need to be change? or should I have a different area changed?
This part can be seen from this FAQ topic :
http://www.4homepages.de/forum/index.php?topic=6836.msg29909#msg29909
Is there anything I can do if they don't want to change this setting for session.auto_start?
No, unfortunitely - there's nothing that can be done if you intend to use PHP scripts such as 4images. It has to be set to off.
-
I'm a little confuse here, are you saying that session.auto_start need to be set to off for local valve and master valve?
session.auto_start local valve master valve
off off
So if both of these should be off, what should I change to 1? What area need to be set to 1, because I'm a little confuse.
Thanks
SpaceCapital
Here is my session setting below from phpinfo:
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
-
are you saying that session.auto_start need to be set to off for local valve and master valve?
Yes, that is correct.
So if both of these should be off, what should I change to 1?
The session.auto_start needs to be changed to ' 0 ' - not 1 (as stated above). :mrgreen:
-
Ask your web hosting party to configure their session.auto_start
from :
session.auto_start = 1;
into :
session.auto_start = 0;
in their php.ini file. ;)
This modification will clear out huge problems you might currently face in the ACP's login page.
They already said that it set to OFF...0 is equal to OFF, 1 is ON
please read more carefuly what people say, this is another example of your missleading and useless responces..
@spacecapital:
1) try to clear you internet cache and cookies
2) if it didnt work, try to disable cookies or if they are already disabled, try to enable them.
3) if you have an opportunity, make sure path /tmp does exist and writible by web server user (your hoster can check this for you ;))
3) can we see your site?
-
@spacecapital :
Earlier today, I have updated my post here :
http://www.4homepages.de/forum/index.php?topic=9289.0
so that you can, now, see more closely the source of the problem you might currently have with 4images. ;)
Simply follow these instructions and you should be all set.
-
Okay, I have checked my script.log file after I ran the 4image program. I erased everything from the script.og file before I tried to log on to the Admin control panel. When I typed in the admin account and the password this i what show up in the script.log file on my server that is hosted by yahoo.com.
I checked for the /tmp directory, I could not find it in my account. I did tried to all the step above and I still am unsuccessful. I also tried to run the Server_information.php file. I still received the message below when I tried to run it. I really appreciated all the help, hopefully I can get this program running soon.
I'm able to log in as user, I can't log in to my admin account to access the Admin control panel. Here is the my web site www.4dapoppers.com. just click on the gallery
section.
Thanks again for the help
SpaceCapital
15:55] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
[20-Sep-2005 19:16:04] PHP Warning: session_start(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in /modules/Gallery/includes/sessions.php on line 85
[20-Sep-2005 19:16:04] PHP Warning: Unknown(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[20-Sep-2005 19:16:04] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
[20-Sep-2005 19:16:05] PHP Warning: session_start(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in /modules/Gallery/includes/sessions.php on line 85
[20-Sep-2005 19:16:05] PHP Warning: Unknown(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[20-Sep-2005 19:16:05] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
[20-Sep-2005 19:16:15] PHP Warning: session_start(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in /modules/Gallery/includes/sessions.php on line 85
[20-Sep-2005 19:16:15] PHP Warning: Unknown(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[20-Sep-2005 19:16:15] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
[20-Sep-2005 19:16:15] PHP Warning: session_start(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in /modules/Gallery/includes/sessions.php on line 85
[20-Sep-2005 19:16:16] PHP Warning: Unknown(): open(/tmp/sess_98e3ebc8f10fd9c9d50a94f6c66e5567, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[20-Sep-2005 19:16:16] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
-
Failed to write session data
You must enable writing mode towards your server session folder. Otherwise, it will fail to authenticate your actions from 4images (in this case).
-
Is this something I can change? If I can what is the file and or directory? If not what should I tell my web hosting company?
Thanks for the help
Roosevelt
-
If not what should I tell my web hosting company?
My answer above is the solution for this.
-
3) if you have an opportunity, make sure path /tmp does exist and writible by web server user (your hoster can check this for you ;))
your hoster must make sure that the path specifyed in session.save_path in php.ini exists and writible by the web server's user. from your end, if you dont have root access to your server, you only can ask them to do so ;)
-
I like to thank all the people who helped me with these problems I had. I contacted the web hosting company regarding this problem. Once I created the tmp subdirectory everything is working properly. My problem can from not having a /tmp subdirectory.
SpaceCapital