Zen Cart Logo
Forums / General Questions / AAAAAAAAAHHH!!!! Urgent help needed!

AAAAAAAAAHHH!!!! Urgent help needed!

Locked

Views: 714

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 Jul 2007, 10:44 AM
#1
jimmybob avatar

jimmybob

New Zenner

Join Date:
Jul 2007
Posts:
23
Plugin Contributions:
0

AAAAAAAAAHHH!!!! Urgent help needed!

OH NO! I have messed everything up!

I thought I would be clever and try and install the 'auction product type mod' - but now its really messsed up!

My site https://www.footballflashbacks.co.uk has a messed up website underneath all of this:

if (isset($_GET['mod']) && $_GET['mod'] == 'auction') { $new_products_price = zen_db_prepare_input($_POST['price']); $sql = "select products_price from " . TABLE_PRODUCTS . " where products_id = " . (int)$_POST['products_id']; $result = $db->execute($sql); $old_price = $result->fields['products_price']; $sql = "update " . TABLE_PRODUCTS . " set products_price = " . zen_db_input($new_products_price) . " where products_id = " . (int)$_POST['products_id']; $db->execute($sql); $sql = "update " . TABLE_PRODUCT_AUCTION_EXTRA . " set bid_old_buynow_price = " . zen_db_input($new_products_price) . " where products_id = " . (int)$_POST['products_id']; $db->execute($sql); }
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/football/public_html/shop/includes/classes/shopping_cart.php:1894) in /home/football/public_html/shop/includes/functions/sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/football/public_html/shop/includes/classes/shopping_cart.php:1894) in /home/football/public_html/shop/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/football/public_html/shop/includes/classes/shopping_cart.php:1894) in /home/football/public_html/shop/includes/init_includes/init_templates.php on line 78

When I log into the admin area, its only this stuff that shows! I cannot do anything else in there.

I did make a backup just before i tried this - but I cannot access it through the admin now - What do I do???!!!???

Jim

31 Jul 2007, 11:26 AM
#2
jimmybob avatar

jimmybob

New Zenner

Join Date:
Jul 2007
Posts:
23
Plugin Contributions:
0

Re: AAAAAAAAAHHH!!!! Urgent help needed!

Ok, So I have gone through and deleted the files I put into my system - But I fear I may have delted some files I shouldn't have! As there error messages are still there!!!

Please Help!

31 Jul 2007, 3:38 PM
#3
jimmybob avatar

jimmybob

New Zenner

Join Date:
Jul 2007
Posts:
23
Plugin Contributions:
0

Re: AAAAAAAAAHHH!!!! Urgent help needed!

Its sorted now - I just went to the file where the warning message says the error was, and i deleted the line of code

31 Jul 2007, 3:54 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: AAAAAAAAAHHH!!!! Urgent help needed!

You may wish to reload the file vs deleting code ...

The code is there for a reason and you could just have a bad file ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!