Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP HUGE PROBLEM


ltfadl

Recommended Posts

Hello Everyone,

 

I am new to oscommerce but i have picked up some tricks. As I was installing the discount coupon contribution something went wrong somewhere and I have not idea where. Now i did back up the database but when I upload it nothing happens, now is the back up just for uploaded products only? Although I should have just downloaded the complete catalog to my computer, lesson learned. Ok here is the site can someone please give me some help and try and guide me in the right direction to fix this problem asap with having to redo everything.

 

www.checksumtuning.com/oscommerce/catalog.

 

Thanks much in advance. P.S. feel free to call me an idiot :rolleyes:

Link to comment
Share on other sites

Looking at your site i would say that you have possibly done something to the "includes/filenames.php file.

 

Have a look and see if its there, if it isnt download a fresh copy and try adding the relevant parts of the contribution and try again.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

looks like you modules are missing..

with ftp look in includes/modules/

 

Are all the files there??

 

Yes all the files are there and was untouched.

 

is your includes/filenames.php file there..

 

Yes this file is there and i did uploaded a fresh one as well.

 

Looking at your site i would say that you have possibly done something to the "includes/filenames.php file.

 

Have a look and see if its there, if it isnt download a fresh copy and try adding the relevant parts of the contribution and try again.

 

I did upload a fresh filenames.php file as well and still the same thing is going on.

 

I really do appreciate your help guys. if you can think of anything else I might have missed please let me know.

 

If someone is willing to take a look at things I will be more then happy to accomidate you. send me an email to: [email protected]

Link to comment
Share on other sites

look in /includes/filenames.php

 

Is there a line in there for

 

FILENAME_NEW_PRODUCTS

 

and

 

FILENAME_UPCOMING_PRODUCTS

 

Look through the installation instructions for the modules you have installed .......

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

look in /includes/filenames.php

 

Is there a line in there for

 

FILENAME_NEW_PRODUCTS

 

and

 

FILENAME_UPCOMING_PRODUCTS

 

Look through the installation instructions for the modules you have installed .......

 

 

Thanks so much, i added those 2 lines to the filename.php and poof everything went back to normal. Now I really need to get this coupon working right. Thansk much everyone for your help.

Link to comment
Share on other sites

Mine normally goes budaboom and everything starts to work, must be different version :-)

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Ok, now that I have this done and went in to finish up the coupon install I ran into another problem. when i go into the administration/modules i get this error

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/content/l/t/f/ltfadl/html/oscommerce/catalog/admin/includes/boxes/catalog.php on line 31

 

and i cannot continue, any advise here?

Link to comment
Share on other sites

Check the installation instructions and see what you did around line 30 /31 and then check what you did. [because you made a mistake :-) ]

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Here are the codes from catalog/includes/boxes/catalog.php

 

<!-- catalog //-->

<tr>

<td>

<?php

$heading = array();

$contents = array();

 

$heading[] = array('text' => BOX_HEADING_CATALOG,

'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog'));

 

if ($selected_box == 'catalog') {

$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' .

//kgt - discount coupons

'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>'

Line 31 here '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' );

/***************

'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' );

***************/

//end kgt - discount coupons

}

 

I done some research and found everything that was involved with this problem and nothing helped. I edited catalog.php also reports.php I really took my time with this, thought i had it right.

Link to comment
Share on other sites

When I thought I was done, Now I am getting an error in the administration/catalog/discount coupon area when i click on it to set a value for a coupon this is what comes up.

 

Warning: main(includes/functions/coupons.php): failed to open stream: No such file or directory in /home/content/l/t/f/ltfadl/html/oscommerce/catalog/admin/coupons.php on line 14

 

Fatal error: main(): Failed opening required 'includes/functions/coupons.php' (include_path='.:/usr/local/lib/php') in /home/content/l/t/f/ltfadl/html/oscommerce/catalog/admin/coupons.php on line 14

 

and this is whats on line 14 in that file ----> require( DIR_WS_FUNCTIONS.'coupons.php' );

 

Can anyone help with this issue. This file is the original from the install folder.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...