Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Specials on default


Guest

Recommended Posts

Hi everyone.

 

I unsucessfully tried to impliment specials on default (Link) to my installation of osC.

 

I am fairly happy doing mods and I am confident I did everything properly however I get errors on the front page now.

 

Does it have anything to do with osC not actually having a 'default' now?! :D

 

I tried to the mod anyway as it seemed to be the one people recommended.

 

FWIW the error was:

 

Warning: main(includes/modules/FILENAME_DEFAULT_SPECIALS): failed to open stream: No such file or directory in /home/httpd/vhosts/migraineaudio.co.uk/httpdocs/shop/index.php on line 323

 

Warning: main(includes/modules/FILENAME_DEFAULT_SPECIALS): failed to open stream: No such file or directory in /home/httpd/vhosts/migraineaudio.co.uk/httpdocs/shop/index.php on line 323

 

Warning: main(includes/modules/FILENAME_DEFAULT_SPECIALS): failed to open stream: No such file or directory in /home/httpd/vhosts/migraineaudio.co.uk/httpdocs/shop/index.php on line 323

 

Warning: main(): Failed opening 'includes/modules/FILENAME_DEFAULT_SPECIALS' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/migraineaudio.co.uk/httpdocs/shop/index.php on line 323

 

Can anyone suggest anything?

 

Cheers

Chris

Link to comment
Share on other sites

Hi Chris,

 

It looks like you have forgotton to upload the default_specials.php file to the catalog/includes/modules folder.

 

I use this contrib and it works flawlessly.

 

If you need more help then pm me

 

Mark

Lifes a bitch, then you marry one, then you die!

Link to comment
Share on other sites

  • 2 weeks later...

hmmm i get this error when i try to access specials through admin panel

 

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1

 

select p.products_id, pd.products_name, p.products_price, s.specials_id, s.specials_new_products_price, s.specials_date_added, s.specials_last_modified, s.expires_date, s.date_status_change, s.status from products p, specials s, products_description pd where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = s.products_id order by pd.products_name limit -20, 20

 

i haent touched the specials box...it wasnt even showing on the default page...i wanted to put it in the right column, but i cant access it

 

i have it in my ftp under

includes/boxes/specials.php

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...