Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need HELP! Please.


picard1234

Recommended Posts

Posted

Heya all.

 

Generally I'm very knew to this although you probably not hear from me allot as i dont like asking for help. But i am asking this time.

 

http://www.vierlibido.com/vlstore - this is the URL to my store. This what comes up when you click 'go'

 

Parse error: syntax error, unexpected T_STRING in /home/Jono/domains/vierlibido.com/public_html/vlstore/includes/languages/english/index.php on line 13

 

This is what is on line 13 of that particular file -

 

define('TEXT_MAIN', 'Welcome to Vier Libidio's ("VL's") Official online Os-commerce store. Feel free to take a look around, <b>make sure to create a log in account before moving onto the final stages of the check-out</b>. If you have any problems contact our customer service team at [email protected]<br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Vier Libido</b><br><br>Vier Libido Ltd. will always try to keep your online information secret and will not be privy to releasing your information to outside companies. <br><br>If you have any difficulties with the site please contact us at [email protected] < color.<br><br>Several checks are performed to ensure a healthy setup of your online buying experience </td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Enjoy</b><br><br>Sit back, relax and please enjoy your online buying experience with Vier Libido Ltd.<br>');

 

HELP!

 

Please?

 

Jono

Posted
define('TEXT_MAIN', 'Welcome to Vier Libidio\'s ("VL\'s")

 

Is that it? :o All I need to do is add the slashes in?

 

Jono

Posted
This is a different error. You need to make sure you have the correct database settings in includes/configure.php.

 

Thanks for the help.

 

I am confused, Every so often it comes up with that message - Other times the site works fine. So unless a line in inlcudes/configure.php keeps changing and then changing back I dont think thats the error.

 

Jono

Posted

The error is telling you your store cannot connect to the database. If your settings are correct and this error occurs occasionally, then your host is having a problem keeping the database running. There's nothing you can do about it except complain to them and hope they fix it, or move your site to another host.

Contributions

 

Discount Coupon Codes

Donations

Posted

place proper db connection parameters in Your configure.php file

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

in includes/configure.php

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'freshosc');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

replace values.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...