Post by rymercho » Tue Apr 14, 2009 10:49 pm

I say erm... because it is the first step and is a bit embarrassing.

I have been looking at open source shopping carts lately and I wanted to have a go at implementing this on my local machine and have a play around. My initial problems is permissions, I followed the install readme and chomodded the files in the list. And now I am getting these errors
Warning: session_start() [function.session-start]: open(/var/tmp//sess_2391648bdef846b8ecda9097f9951b0a, O_RDWR) failed: Permission denied (13) in /Library/WebServer/Documents/opencart/install/index.php on line 6

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Library/WebServer/Documents/opencart/install/index.php:6) in /Library/WebServer/Documents/opencart/install/index.php on line 6

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/opencart/install/index.php:6) in /Library/WebServer/Documents/opencart/install/index.php on line 68

Warning: Unknown: open(/var/tmp//sess_2391648bdef846b8ecda9097f9951b0a, 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 () in Unknown on line 0
I've had no problems with other software of this type but this ones got me. I chmod the whole directory to 777 to see if that would help but it didn't. Usually I'd give up and move on to the next app but I have a feeling about this software, it might be 'the one'.

Cheers
Chris

http://www.communiq-8.co.uk
Communiq-8 Graphic Design, Web development and Computer support

MAC OSX - # Apache/2.2.8 (Unix) DAV/2 PHP/5.2.5 # MySQL client version: 5.0.51


Newbie

Posts

Joined
Tue Apr 14, 2009 10:40 pm

Post by phpuk » Tue Apr 14, 2009 11:37 pm

You have a double / ie // after your tmp directory but before you session check your php server settings.

Also check that you have a directory called var and one under that called tmp.

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by rymercho » Tue Apr 14, 2009 11:56 pm

Thanks for the pointer but I could not find any fix in php.ini.

However!
I checked the /var/tmp folder and it was full of old files so a quick rm -rf * and re-ran the installer again and it works fine. So it was the old temp files from a previous error causing the problem. You would have thought on error it would clear the tmp folder of its outputs or radomised the file names or something to workaround that problem.

But what do I know?!

Anyone tried Magento?

http://www.communiq-8.co.uk
Communiq-8 Graphic Design, Web development and Computer support

MAC OSX - # Apache/2.2.8 (Unix) DAV/2 PHP/5.2.5 # MySQL client version: 5.0.51


Newbie

Posts

Joined
Tue Apr 14, 2009 10:40 pm
Who is online

Users browsing this forum: No registered users and 10 guests