Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fatal errors : session.bug_compat_42/session.bug_compat_warn


kulraj

Recommended Posts

Just finished my first ever install of oscommerce (daily snapshot 0702). I have encountered 3 problems (all seem pretty fatal) :( :

 

1. When I go to my URL in a browser, get the following error on the bottom of the page :

 

<cut>

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

</cut>

 

Is this just screen noise that can be removed (how?) or do I need to address these issues?

 

2. If I click on anything on the page, I get the following errors :

 

<cut>

Warning: main(includes/languages/.php) [function.main]: failed to create stream: No such file or directory in /usr/local/www/data/includes/application_top.php on line 265

 

Fatal error: main() [function.main]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /usr/local/www/data/includes/application_top.php on line 265

</cut>

 

with nothing else on the page

 

3. Admin Page

 

Top of page has :

 

<cut>

Warning: main(includes/languages/english/) [function.main]: failed to create stream: No such file or directory in /usr/local/www/data/admin/includes/application_top.php on line 193

 

Warning: main() [function.main]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/www/data/admin/includes/application_top.php on line 193

</cut>

 

Rest of the page looks pretty normal but if I click on anything like lets say Catalog / Catalog Contents, I still have the two errors above plus an additional one in a pink bar stating :

 

<cut>

ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE

</cut>

 

and the graphical admin page is replaced with :

 

<cut>

Error!

 

Unable to determine the page link!

 

Function used:

 

tep_href_link('', 'selected_box=configuration', 'NONSSL')

</cut>

 

Since I have so many issues, I am suspecting a compatibility issue or a problem with my php install, but I really don't know. I am running FreeBSD 4.6 with php and MySQL. I didn't know the command line string to use to extract pho version number, which I think anyone trying to help may need. I have added "php_value register_globals on" to the virtualhosts section of httpd.conf to no avail.

 

Thanks in advance to anyone and everyone that attempts to help me fight through this.

Kulraj Gurm

Link to comment
Share on other sites

Which version did you download? Did you download oscommerce-2.2ms1? If so did the configuration process completed successfully?

 

I have 2.2ms1 installed without flaws. When finished I did get the following warnings :

(a) to remove install directory - done

(B) permissions on configure.php - done

 

catalog/includes :

-rwx---r-x 1 web staff 1856 Jul 3 22:36 configure.php

 

catalog/admin/includes :

-rwx---rw- 1 web staff 2344 Jul 3 22:36 configure.php

 

I have the install directory tarred, contemplating untarring and trying again..... think that might be useful?

 

Wait to hear from you. Thnx.

Kulraj Gurm

Link to comment
Share on other sites

I'm also a newbie in this hehe...but I set both of my config file to 644. But I don't think that's the root of the problem...I really don't know anything, let's hope some experts help us out here... :D

 

BTW, do you host your own website? If so, did you set all the settings correctly? In worst scenerio, you can delete everything and then upload the files to your server and then try to install again.

 

Steve

Link to comment
Share on other sites

............... let's hope some experts help us out here... :D

 

I think hope is all we have; doesn't look like any "osCommerce veteran" is motivated to answer this one. Oh well! I'm gonna start from the ground up, again. See no other choice. Fresh install everything.

Kulraj Gurm

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...