Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New installation on windows running PWS


localboy

Recommended Posts

Before you read the essay below...Can I install and run this under a Windows environment?

 

I have installed everything and have got PHP running on my PWS

sessions under Win98SE, MYSql version 3.23.53 is installed and the catalog was imported successfully.

 

When I view catalog/default.php I get the page displayed, but the details in the middle of the page does not display. All I get is the top and left navigation systems. The rest of the page is blank.

 

Just below the "Add a quickie" link I get "Error! Unable to determine the page link!"

 

I was playing around with some settings and then got the error that data cannot be passed as a string, and the the function/feature has been deprecated. I should check some compat settings. But the rest of the error was hidden. I can't seem to recreate this error.

 

Sorry about the essay, just want to give as much info as possible.

Regards

Link to comment
Share on other sites

This is the error that i mentioned in the previous post. I was able to recreate it. This happened after I re-installed PHP using the Windows installer.

 

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

Link to comment
Share on other sites

Have a look in C:windowsphp.ini

About line 317

IF

register_globals = Off

Change to

register_globals = On

 

Save. You may have to restart.

Good luck :!:

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Thanx m80, it worked. :D Now I just need to get rid of the errors on the admin section.

 

I get the following displayed above the top menu when I view pages from the Admin folder.

 

Warning: main(//catalog/includes/data/rates.php) [function.main]: failed to create stream: No such file or directory in C:Inetpubwwwrootadminincludesinclude_once.php on line 4

 

Warning: main() [function.main]: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;c:php4pear') in C:Inetpubwwwrootadminincludesinclude_once.php on line 4

 

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in C:Inetpubwwwrootadminincludeslanguagesenglish.php on line 12.

 

All the pages seem to work, but I want to get rid of this error. And I've checked the source code. I can't find 'c:php4pear' anywhere :(

Link to comment
Share on other sites

Warning: main(//catalog/includes/data/rates.php) [function.main]: failed to create stream: No such file or directory in C:Inetpubwwwrootadminincludesinclude_once.php on line 4

 

Warning: main() [function.main]: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;c:php4pear') in C:Inetpubwwwrootadminincludesinclude_once.php on line 4

 

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in C:Inetpubwwwrootadminincludeslanguagesenglish.php on line 12.

Hi,

I've searhed my stores & I can't find catalog/includes/data/rates.php or

adminincludesinclude_once.php ?? :(

With errors like this I usually work backwards.

Open adminincludesinclude_once.php in a text editor & see what is on line 4

:)

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...