Post by op_sjo » Thu Jul 02, 2009 6:19 am

Hi all,

I am trying to install v1.2.9 on my FreeBSD box. It is running PHP v5.2.6.

I have set the right permissions to the directories as per the install.txt, but when I go to the site root, it redirects to /install/install.php but renders nothing on screen. Just a blank page with no output. I tried in different browsers just to be sure.

Any thoughts?

Thanks

Code: Select all

[xxx@x:~/domains/xxxxxx/public_html]$ ls -la
total 26
drwxr-x---  9 stu  apache   512 Jul  1 23:02 .
drwx--x--x  9 stu  stu      512 Jul  1 22:55 ..
drwxr-xr-x  6 stu  apache   512 Jul  1 23:00 admin
drwxr-xr-x  2 stu  apache   512 Jul  1 22:59 cache
drwxr-xr-x  6 stu  apache   512 Jul  1 23:00 catalog
-rwxr-xr-x  1 stu  apache     0 Jul  1 23:00 config.php
drwxr-xr-x  2 stu  apache   512 Jul  1 22:59 download
-rw-r--r--  1 stu  apache   389 Jul  1 23:00 htaccess.txt
drwxr-xr-x  4 stu  apache  2048 Jul  1 22:59 image
-rw-r--r--  1 stu  apache  2229 Jul  1 23:00 index.php
drwxr-xr-x  5 stu  apache   512 Jul  1 23:02 install
-rw-r--r--  1 stu  apache   138 Jul  1 23:00 php.ini.xxx
drwxr-xr-x  8 stu  apache   512 Jul  1 22:59 system

Newbie

Posts

Joined
Thu Jul 02, 2009 6:14 am

Post by op_sjo » Thu Jul 02, 2009 3:40 pm

Okay, resolved this.

For some obscure reason, in system/startup.php, the session start function was set to ignore errors (@session_start()).. This contradicts turning all error reporting on!!

Anyway..

The issue was due to this script, for some unknown reason, trying to store session state in /var/tmp which is not in my open_basedir directive. I've looked through and can't find where this is happening, but everything else on this box that uses sessions does not suffer the same problem, so it's likely to be something within opencart.

I forced it to use /tmp with "ini_set('session.save_path', '/tmp');" in system/startup.php (whether or not this is adequate, i do not yet know as i still haven't got it installed 100% yet)..


Which brings me onto my next point... page one of the install..

Code: Select all

Files  	Status
/usr/home/xxx/xxxx/public_html/config.php 	Writable
Yet when I hit the continue button, I get:
Warning: config.php needs to be writable for OpenCart to be installed!
Very good! ???



EDIT: Fixed.. it was complaining about admin/config.php not being writeable, but doesn't actually tell you that...

Newbie

Posts

Joined
Thu Jul 02, 2009 6:14 am
Who is online

Users browsing this forum: No registered users and 22 guests