Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - arcticmark

Pages: [1]
1
The session data is not written to the tmp directory in 4images, it is written to the tmp directory on the actual servers root.

Then you have not Problem with 4images, right? (o:

@Gwydion
You will become no Support without the URL and without any error message... Sorry...

It WAS a problem with 4images because PHPBB and my File database both run using sessions and they had NO problems at all.
It is a compatability error with PHP 4.4.4 and 4images.
The problem has been fixed in PHP but the version number hasn't changed.
4Images was unable to write to the /tmp directory on the servers root, not the websites root because of the problem in PHP and 4images.

Simply update Apache on your server and rebuild PHP 4.4.4 and it will work again. You can do this in WHM by clicking Apache Update.

2
please make a tmp folder in your root folder (http://www.arctic-monkeys.com/4images/tmp/) an chmod it to 777...

I don't think you quite understood the problem which had arisen here.

The session data is not written to the tmp directory in 4images, it is written to the tmp directory on the actual servers root. Making that tmp folder and chmodding it would not have worked one bit I don't think.
Anyway I rebuilt Apache and PHP aswell as building it with some different options. I couldn't for the life of me understand why it suddenly worked but it did.
It is something to do with php.ini and how it allows 4images to write to the tmp directory on the server.

If you do some googling it is apparently a bug in PHP.

Thanks for your help but if people are having problems try rebuilding PHP and Apache and see if it works.

3
It has nothing to do with the template at all.
It is something to do with how 4images writes it's session data.

I have several pieces of software which run using session and I have no problems, only with 4images, it just wont let you login on that setup. I sent you the MySQL check which prove it.

Anyway I did what you said and changed the template.
I now get the errors shown below which must not show on the other template I was using;

Code: [Select]
Warning: Unknown(): open(/tmp/sess_0d3539e318e5574a290a13556055759d, O_RDWR) failed: Permission denied (13) in Unknown on line 0

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

Thanks

I'll also supply information about PHP aswell;
http://www.arctic-monkeys.com/inf.php

4
I understand I can update using FTP but I'd rather have the ability to login first ;)
I wanted to change it back to the original 4images template.

5
Hello,

I am having the exact same problem.
It is an issue with the sessions that 4images creates.
In other words on a server running MySQL 4.1.21-standard and PHP 4.4.4 it won't create a session and allow you to login or out.

I did a MySQL check and got this error;

Code: [Select]
arctic_imggal.4images_categories                   OK
arctic_imggal.4images_comments                     OK
arctic_imggal.4images_groupaccess                  OK
arctic_imggal.4images_groupmatch                   OK
arctic_imggal.4images_groups                       OK
arctic_imggal.4images_images                       OK
arctic_imggal.4images_images_temp                  OK
arctic_imggal.4images_lightboxes                   OK
arctic_imggal.4images_postcards                    OK
arctic_imggal.4images_sessions
note     : The storage engine for the table doesn't support check
arctic_imggal.4images_sessionvars                  OK
arctic_imggal.4images_settings                     OK
arctic_imggal.4images_users                        OK
arctic_imggal.4images_wordlist                     OK
arctic_imggal.4images_wordmatch                    OK

Also a link to my gallery http://www.arctic-monkeys.com/4images/
I also am aware that I am running an old template which doesnt support many of the new gallerys features (such as the captcha) so people can't register at the moment. But I can't login to change the template at the moment.

Thanks
Mark

Pages: [1]