Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SUSE LINUX 10.0 Install problems


csaba911

Recommended Posts

I just can't seem to install OsCommerce on LINUX/SUSE 10.0 . First I tried it with PHP5 . I get a blank screen now with PHP 4.4.0 I get this error message .

On my MAC OS x system I can see the working Shop but can't get into the admin part. That one is running PHP 5.04. I'm starting to believe it's got to do with the different APACHE handlers on LINUX I'm using Apache 2.0.54 and on my MAC I'm using 1.3.34. Please help !

The settings in the PHP.INI are identical and the APACHE settings in httpd.conf are set to match as good as possible. Can MySQL v4.1.13 (LINUX) compared to MySQL 4.1.15.MAX (MAC OS X) be the problem or is it apache ?

PHP is out of the question since I tried it with 5.0.4 on both machines and on the MAC side it was working (partially)

 

 

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /srv/www/htdocs/catalog/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='/usr/share/php') in /srv/www/htdocs/catalog/includes/application_top.php

Link to comment
Share on other sites

--snip!--

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /srv/www/htdocs/catalog/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='/usr/share/php') in /srv/www/htdocs/catalog/includes/application_top.php

 

Go to /etc/php5/apache2 and edit the php.ini file there....

 

line 493 - comment out:

 

include_path = "/usr/share/php5"

 

This will let oscommerce run under php5/suse10 - what happens on my install, after that, however, is that clicking on the categories (url: ...index.php?cPath=77) just reloads the main page.

 

Anyone?

 

--Mike

Link to comment
Share on other sites

  • 4 months later...

Hi

I was searching for the same problem and your post give me a clue of how to fix this

Not sure if you have already found the answer but here it is

 

add additional path "./" to the include path

include_path="/usr/share/php5:./"

 

Hope this helps

:)

Go to /etc/php5/apache2 and edit the php.ini file there....

 

line 493 - comment out:

 

include_path = "/usr/share/php5"

 

This will let oscommerce run under php5/suse10 - what happens on my install, after that, however, is that clicking on the categories (url: ...index.php?cPath=77) just reloads the main page.

 

Anyone?

 

--Mike

Link to comment
Share on other sites

  • 3 weeks later...

Hi people!

 

I'm new to osCommerce and it's 02:25 AM GMT+1 so please bear with me... ;)

 

My environment: SuSE 10, Apache 2, PHP4, MySQL

 

The installation wasn't as smooth as I liked it to be but it's working after all... I think.

 

Now some comments:

 

1. the include_path trick "add additional path "./" to the include path" works fine but only for the main page.

If I want to access de Administration tool (http://localhost/catalog/admin ) I get the following errors:

 

----

Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/catalog/admin/includes/application_top.php on line 29

 

Fatal error: main() [function.require]: Failed opening required 'includes/configure.php' (include_path='/usr/share/php:./') in /srv/www/htdocs/catalog/admin/includes/application_top.php on line 29

----

 

2. at the bottom of the main page I see this:

 

----

Fatal error: Call to undefined function: session_write_close() in /srv/www/htdocs/catalog/includes/functions/sessions.php on line 136

----

 

3. "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" This is just fine until I click on "create an account". This brings me to:

 

----

Unable to connect

 

Firefox can't establish a connection to the server at localhost.

 

* The site could be temporarily unavailable or too busy. Try again in a few

moments.

 

* If you are unable to load any pages, check your computer's network

connection.

 

* If your computer or network is protected by a firewall or proxy, make sure

that Firefox is permitted to access the Web.

----

 

In this case, I'm testing using localhost as domain name before uploading the whole stuff to its final destination.

 

Any clues on how to solve these issues?? Maybe I'm just overseeing something obvious...

 

 

Best regards,

Martin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...