4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: rellie on June 07, 2008, 01:14:53 AM
-
I've recently created a subdomain with my current host. I am quite familiar with the installation of 4images, but this time it has given me some problems, with both upgrading on another site and this particular fresh installation.
http://test.bad-influences.com/4images/
When you register and then attempt to login, the page just flashes back to the login page without you actually being logged in.
BUT..
If you tick the box; Log me on automatically next visit?.... It allows you to stay logged in.
Is there a thread for this where someone else has experienced this problem? I've searched and searched, maybe im not searching the problem properly. If someone knows what i've done wrong, or how to fix this id appreciate it.
----------------------------------
MySQL Version
5.0.45
---------------------------------
PHP Version
4.4.7
Thanks~
-
Hello;
seems to be related to a server problem.
Sessions seem not to be stored, while you can use cookies sessions.
Please contact your administrator, to let the temporary folder being writable.
Or else, make an empty folder, e.g. called "temp", outside of your website structure, with CHMOD 777.
Then, edit includes/sessions.php, and find:
@session_start();
Insert just before:
session_save_path("/real/path/to/your/temp/folder/");
If you do not know the real path to your "temp" folder, create in it a file called "path.php", with this code:
<?php
$p=getcwd();
echo $p;
?>
Then, open your browser and go to: http://my_website/temp/path.php
The real path to path.php will be then displayed.
Copy it and put it instead of "/real/path/to/your/temp/folder/".
But, please, contact first your server administrator. The problem should be quickly solved.