Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Failed instalation


Guest

Recommended Posts

Posted

I just tried installing the oscommerce, I made sure both includes folder were CHMOD to 706, and this is what happens on step 7:

 

Warning: fopen(/home/www/hosts/cs-repz.com/catalog/includes/configure.php): failed to open stream: Permission denied in /home/www/cirepzdST/catalog/install/templates/pages/install_7.php on line 209

 

Warning: fputs(): supplied argument is not a valid stream resource in /home/www/cirepzdST/catalog/install/templates/pages/install_7.php on line 210

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/www/cirepzdST/catalog/install/templates/pages/install_7.php on line 211

 

Warning: fopen(/home/www/hosts/cs-repz.com/catalog/admin/includes/configure.php): failed to open stream: Permission denied in /home/www/cirepzdST/catalog/install/templates/pages/install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid stream resource in /home/www/cirepzdST/catalog/install/templates/pages/install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/www/cirepzdST/catalog/install/templates/pages/install_7.php on line 261

 

Despite this is still says: "The configuration was successful!"

 

Then when I tried to access it.......

Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/www/cirepzdST/catalog/index.php on line 13

 

Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/php/includes') in /home/www/cirepzdST/catalog/index.php on line 13

Posted

hadthis happen the other day, solution is to check your folder permissions, sounds like they are not read/write etc.. set the include folder to 777 and see what happens

Posted
I made sure both includes folder were CHMOD to 706

 

Set the permissions on /catalog/includes/configure.php file and on /catalog/admin/includes/configure.php file to 777 and run install again!

Antonios

 

olympicslogo_en.gif

Posted

Thanks guys.

It is now installed.

I renamed the admin folder so people wont access the admin centre...however every link I press within the admin centre "catalog contents" etc...keeps resulting in a "Page not found"...any ideas?

Posted
I renamed the admin folder so people wont access the admin centre...

If you only renamed the admin folder. Of course than you won't be able to find the files. Have you updated your configure.php in your renamed admin folder?

 

There it says:

 

where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/usr/local/apache/htdocs/catalog/admin/'); //

 

that you need to change to your renamed admin folder

 

Richard

 

:rolleyes:

Posted

Thanks.

I actually found it about 5 mins after posting. But I couldnt find the 2nd line you stated, my file says this:

 

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

Posted
Thanks.

I actually found it about 5 mins after posting. But I couldnt find the 2nd line you stated, my file says this:

 

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

Ok you made the absolute path through the variables DIR_FS_DOCUMENT_ROOT and DIR_WS_ADMIN. So if you update one it will automatically read the full path. Fair enough

 

Richard

 

:rolleyes:

Posted

Sorry Im new to this....what file/line(s) do I have to change to correct this? :huh:

Posted

Look in your catalog/adminincludes directory for a file named configure.php, where catalog your osC directory and admin the directory where you have your administration pages!

Antonios

 

olympicslogo_en.gif

Posted
Sorry Im new to this....what file/line(s) do I have to change to correct this?  :huh:

Change what? you want to change it back again? If i read the variables right it should be ok and you did update what you found after 5 min ?

 

Otherwise it is

 

define('DIR_FS_DOCUMENT_ROOT' . /home/www/cirepzdST/catalog/);

 

define('DIR_WS_ADMIN', '/admin/');

 

and the way you HAD it at least was:

 

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

 

which translates into:

 

define('DIR_FS_ADMIN', /home/www/cirepzdST/catalog/admin/);

 

 

Regards

 

Richard

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...