Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New User needs help to set up the program


Software Retailer

Recommended Posts

Posted

:'( Hi,

 

I'm trying, for the very first time, to set up this online osCommerce program.

I have tried editing several of the php files to get MySQL functioning but no matter how I enter the information into the database.php file I keep getting this error:

 

Parse error: parse error, unexpected '.', expecting ')' in /www/e/etsoftsales/htdocs/catalog/admin/includes/functions/database.php on line 13

 

Here is line 13 of the database.php

 

function tep_db_connect($server = mysqlchanged.powweb.com , $username = changed, $password = changed, $database = changedMySQL, $link = 'http://changed.powweb.com/?server=changed') {

 

I have replaced certain characters above to "changed" for security reason for this forum. I do have a SQL setup and in accessible through my website but to my knowledge it is an empty database as I just set it up this morning. The only item from line 13 above that I am unsure of is the call for a link. I used the link as given by my SQL host and that link is the link that you use to get the MMySQL sign on page for my database. Is that the correct thing to use and if not, what do I use.

 

I also have the following errors on step 7 of the install for osCommerce. What should I do, if anything, to correct these errors?:

 

Warning: fopen(/www/e/t/etsoftsales.com/htdocs/catalog/admin/includes/configure.php): failed to open stream: No such file or directory in /www/e/etsoftsales/htdocs/catalog/install/templates/pages/install_7.php on line 259

 

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

 

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

 

But then the install reports the following:

 

The configuration was successful!

 

I do know that these files are in the proper place already even though the install reports no such file or directory.

 

Thanks in advance for any help.

 

Jim

Posted
:'( Hi,

 

  I'm trying, for the very first time, to set up this online osCommerce program.

I have tried editing several of the php files to get MySQL functioning but no matter how I enter the information into the database.php file I keep getting this error:

 

Parse error: parse error, unexpected '.', expecting ')' in /www/e/etsoftsales/htdocs/catalog/admin/includes/functions/database.php on line 13

 

Here is line 13 of the database.php

 

function tep_db_connect($server = mysqlchanged.powweb.com , $username = changed, $password = changed, $database = changedMySQL, $link = 'http://changed.powweb.com/?server=changed') {

 

I have replaced certain characters above to "changed" for security reason for this forum. I do have a SQL setup and in accessible through my website but to my knowledge it is an empty database as I just set it up this morning. The only item from line 13 above that I am unsure of is the call for a link. I used the link as given by my SQL host and that link is the link that you use to get the MMySQL sign on page for my database. Is that the correct thing to use and if not, what do I use.

 

I also have the following errors on step 7 of the install for osCommerce. What should I do, if anything, to correct these errors?:

 

Warning: fopen(/www/e/t/etsoftsales.com/htdocs/catalog/admin/includes/configure.php): failed to open stream: No such file or directory in /www/e/etsoftsales/htdocs/catalog/install/templates/pages/install_7.php on line 259

 

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

 

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

 

But then the install reports the following:

 

The configuration was successful!

 

I do know that these files are in the proper place already even though the install reports no such file or directory.

 

Thanks in advance for any help.

 

Jim

 

leave database.php alone, no need to edit there !

 

only edit the database settings in configure.php

Treasurer MFC

Archived

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

×
×
  • Create New...