Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

installation MS?


kirjahirvi

Recommended Posts

Posted

Hi,

 

I have installed CVS MS3 today.

The catalog works, but the admin doesn?t.

When I try to start the admin I get the following massage:

 

Warning: main(): Unable to access ../includes/configure.php in /home/www/web223/html/os_shop_se/admin/includes/application_top.php on line 20

 

Warning: main(../includes/configure.php): failed to open stream: No such file or directory in /home/www/web223/html/os_shop_se/admin/includes/application_top.php on line 20

 

Warning: main(): Unable to access ../includes/configure.php in /home/www/web223/html/os_shop_se/admin/includes/application_top.php on line 20

 

Warning: main(../includes/configure.php): failed to open stream: No such file or directory in /home/www/web223/html/os_shop_se/admin/includes/application_top.php on line 20

 

Fatal error: main(): Failed opening required '../includes/configure.php' (include_path='.:/usr/share/php') in /home/www/web223/html/os_shop_se/admin/includes/application_top.php on line 20

 

Why does the installation not work and what do I have to change?

 

Best regards

 

Flori

Posted

It will be hard for anyone to answer you since we can't see your directory structure, check with your host to make sure you have your files placed in the right directories and that you have configured your configure.php file correctly

Posted

You do know that the version you uploaded an installed is not ready for a production site. It is a devolpement version that may or may not work correctly at any given point due to changes being made.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

I have put noo the directory admin und catalog and it seems to work. But now I get the following message.

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/www/web223/html/os_shop_se/catalog/admin/includes/application_top.php on line 108

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/www/web223/html/os_shop_se/catalog/admin/includes/application_top.php on line 108

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php') in /home/www/web223/html/os_shop_se/catalog/admin/includes/application_top.php on line 108

 

after changing line 108 from

 

require('includes/languages/' . $osC_Session->value('language') . '.php');

 

into

require('includes/languages/' . $osC_Session->value('language') . german.php');

 

I get this message:

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/web223/html/os_shop_se/catalog/admin/includes/application_top.php on line 113

 

 

I don?t know very much about php and I know that MS is not ready but maybe my experience gives some hints also to the developers, which are doing a great work.

 

Best regards

 

Flori

Posted

you will also need to set file permissions for your whole site

Posted

I have solved the parse-error.

 

The rights are set like in MS2.

Are there any other rights to be set?

Posted

I too have the same problem...

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/httpd/vhosts/sycentrum.se/httpsdocs/shop/includes/application_top.php on line 290

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/httpd/vhosts/sycentrum.se/httpsdocs/shop/includes/application_top.php on line 290

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/sycentrum.se/httpsdocs/shop/includes/application_top.php on line 290

 

But now I have it on all my pages, not just the admin part. :(

 

I can access the first page on both the catalog site and the admin site, but when I try to click on a link I get the error.

 

And as many other have said before "I didnt do anything", everything worked fine and the next day nothing works.

 

I am running osCommerce 2.2-MS2 on a FC1 Linux with Apache 2.0.50-1.0,

php 4.3.8-1.1, mysql 3.23.58-4 with a Plesk system.

Posted

I'm also having the same problems but I'm runing under Windows.

 

I've just checked the permissions and they all appear to be OK.

 

In case this helps,,,

I've looked at why some of the messages ars occuring in application_top.php and it appears to because $PHP_SELF is being zapped by something and is ending up as an empty or possibly null string.

Archived

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

×
×
  • Create New...