Welcome! Log In Create A New Profile

Advanced

Help!! I broke my shopping cart!!!

Posted by DotKhoza 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
avatar Help!! I broke my shopping cart!!!
May 18, 2010 11:26AM
Hi, Mac

Please help.

I was experimenting and wanted to see what would happen if I changed some thing... and guess what! I broke it!angry smiley

I changed this line in the file:
/admin/includes/classes/box.php:

I changed line 8 : Copyright (c) 2003 osCommerce to Copyright (c) 2003 Dotkhoza...


After that I cannot access anything. not even the admin section,

Please help by changing the above line back to osCommerce for me...

Thanks

A Successful Nature Inspires Other People...
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 11:26AM
It is Site number 03

A Successful Nature Inspires Other People...
avatar
Mac
Re: Help!! I broke my shopping cart!!!
May 18, 2010 11:43AM
Be careful to change code...... the problem was not that line (it was in a commented section that has no influence) but I just copied and pasted the old lines under it ove rand now it seems to work again..
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 11:46AM
Thanks...Whew!grinning smiley

A Successful Nature Inspires Other People...
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 11:49AM
But that was the only thing in that file that I changed... I did not even notice that it was commented out.

A Successful Nature Inspires Other People...
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 11:50AM
Next time I will change files only in my beloved editor... Dreamweaver.

A Successful Nature Inspires Other People...
Practical due date
May 18, 2010 06:32PM
Dear mac when is actually the duedate for the practical? .In one of the tu letter it stated 15 May but it appears to me from others students correspondence that the prac still continous.
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 07:44PM
The relevant thread for due dates and extensions is to be found there or here... Not in this thread. This thread is about breaking your cart by changing the php code...cool smiley

A Successful Nature Inspires Other People...
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 08:08PM
I almost broke it again while inserting a "Paypal Accepted" Infobox... Whew!, That was close smile...Fortunately it was easy to fix. (By replacing the file with the one I used to test on my localhost)

A Successful Nature Inspires Other People...
avatar Re: Help!! I broke my shopping cart!!!
May 18, 2010 08:12PM
I found that it is easier to try things out once I have installed a local copy of osCommerce on my Testing machine. There I am allowed to change my mind if things do not work as expected...smoking smiley

A Successful Nature Inspires Other People...
Sorry, only registered users may post in this forum.

Click here to login