4images Forum & Community

4images Help / Hilfe => Error Messages / Fehlermeldungen => Topic started by: V@no on January 17, 2006, 01:22:22 AM

Title: Warning: session_start(): open(
Post by: V@no on January 17, 2006, 01:22:22 AM
This error became pretty common around here. Unfortunetly the only thing you can do about it is contact your host's administrator and hope they fix this as soon as possible.

This is server-side problem and without root access to the server is not possible to fix it.


I was suffering from the same problem that many are ... seeing these messages when you run 4images:

 Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in
 /your_home_directory/path_to_4images_gallery/includes/sessions.php on line 84

If you are getting this message *CONSISTENTLY*, then there is clearly something wrong with the hosting company's server setup, and you need to ask them to take a look. Hopefully, they will fix it.

But, if 4Images works fine most of the time, and you sometimes see one of these messages, or your server seems to get hung up on them for a minute or so, then it starts working again ... try this:

Create a /tmp/sessions directory in your home directory, check the permission to make sure it is writeable, then add the following line to .htaccess:

php_value session.save_path /your_home_directory/tmp/sessions

This solved my problem 100%, and I assume it will work for many of you, too. This simply isolates your 4Images session variables to a private /tmp space, avoiding whatever conflicts were causing the problem.
Title: Warning: imagettftext()
Post by: wasimkhan on January 27, 2011, 02:13:08 PM
Warning: imagettftext() expects parameter 1 to be resource, boolean given in gallery\includes\annotate.php on line 192  any one can solve this
Title: Re: Warning: session_start(): open(
Post by: wassimo on January 27, 2011, 05:38:08 PM
thanks  V@no   :D