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 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
Bookmarks