Jump to content
Latest News: (loading..)

TheDukeOfHurl

Members
  • Content count

    7
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Todd Newton

Recent Profile Visitors

558 profile views
  1. TheDukeOfHurl

    Shop Not Functional After Hosting Change...

    I appreciate the FYI. Now that the issue with line thirteen has been addressed, I am getting a syntax error for line 264, which only contains the following: ?> { Thanks!
  2. TheDukeOfHurl

    Shop Not Functional After Hosting Change...

    For clarification, this is line thirteen.
  3. TheDukeOfHurl

    Shop Not Functional After Hosting Change...

    Here are the first forty lines: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2013 osCommerce Released under the GNU General Public License */ function tep_db_connect($server = 'localhost', $username = 'xyz_shop', $password = 'xyz123abcdef', $database = 'xyz_shop', $link = 'db_link') } global $$link; if (USE_PCONNECT == 'true') { $server = 'p:' . $server; } $$link = mysqli_connect($server, $username, $password, $database); if ( !mysqli_connect_errno() ) { mysqli_set_charset($$link, 'utf8'); } return $$link; function tep_db_close($link = 'db_link') { global $$link; return mysqli_close($$link); } function tep_db_error($query, $errno, $error) { if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { error_log('ERROR: [' . $errno . '] ' . $error . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } die('<font color="#000000"><strong>' . $errno . ' - ' . $error . '<br /><br />' . $query . '<br /><br /><small><font color="#ff0000">[TEP STOP]</font></small><br /><br /></strong></font>'); }
  4. Hello! I recently switched to a different host and am now unable to get my osCommerce install to function properly. When I attempt to launch it, I receive the following error: Parse error: syntax error, unexpected '}', expecting '{' in /home/bigmus5/public_html/shop/includes/functions/database.php on line 13 What do I need to change to make this work? Thanks!
×