Find Jobs
Hire Freelancers

Help fixing my Opencart site

$10-30 CAD

Cancelado
Publicado hace más de 8 años

$10-30 CAD

Pagado a la entrega
Hello A week or so ago my page stopped working. I would really appreciate any insight or help as to how to fix it. I will try to include as many details as possible. Here we go. 1. I went to my site and noticed the header had an error code in it and some of the shopping cart features seemed a bit buggy as well. Here is the error that was showing in the header Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/uvapeca/public_html/system/database/[login to view URL] on line 6 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/uvapeca/public_html/system/database/[login to view URL]) in /home/uvapeca/public_html/system/library/[login to view URL] on line 11Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/uvapeca/public_html/system/database/[login to view URL]) in /home/uvapeca/public_html/system/library/[login to view URL] on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/uvapeca/public_html/system/database/[login to view URL]) in /home/uvapeca/public_html/[login to view URL] on line 179Warning: Cannot modify header information - headers already sent by (output started at /home/uvapeca/public_html/system/database/[login to view URL]) in /home/uvapeca/public_html/system/library/[login to view URL] on line 45Warning: Cannot modify header information - headers already sent by (output started at /home/uvapeca/public_html/system/database/[login to view URL]) in /home/uvapeca/public_html/catalog/controller/journal2/[login to view URL] on line 28 - See more at: [login to view URL] ... [login to view URL] 2. They sent me here for help [login to view URL] -- I then tried playing around with the [login to view URL] and keep getting different errors now. 3. Seems there is something with the code at the end it does not like. Here is the error that is currently being display on my webpage [login to view URL] Parse error: syntax error, unexpected end of file in /home/uvapeca/public_html/system/database/[login to view URL] on line 75 4. The CRA are looking for me to file my taxes and I cant get to my reports in my admin panel either because of this error. I would seriously appreciate any help I could get on this. I have tried to fix the error by myself and I fear I am making it worse. 5. Here is what my current [login to view URL] file reads. <?php if (!class_exists('MySQLi')) { final class MySQLi{ private $mysqli; public function __construct($hostname, $username, $password, $database) { $this->mysqli = new mysqli($hostname, $username, $password, $database); if ($this->mysqli->connect_error) { trigger_error('Error: Could not make a database link (' . $this->mysqli->connect_errno . ') ' . $this->mysqli->connect_error); } $this->mysqli->query("SET NAMES 'utf8'"); $this->mysqli->query("SET CHARACTER SET utf8"); $this->mysqli->query("SET CHARACTER_SET_CONNECTION=utf8"); $this->mysqli->query("SET SQL_MODE = ''"); } public function query($sql) { $result = $this->mysqli->query($sql); if ($this->mysqli->errno) { //$mysqli->errno if (is_resource($resource)) { $i = 0; $data = array(); while ($row = $result->fetch_object()) { $data[$i] = $row; $i++; } $result->close(); $query = new stdClass(); $query->row = isset($data[0]) ? $data[0] : array(); $query->rows = $data; $query->num_rows = $result->num_rows; unset($data); return $query; } else { return true; } } { trigger_error('Error: ' . mysql_error($this->link) . '<br />Error No: ' . mysql_errno($this->link) . '<br />' . $sql); exit(); } } public function escape($value) { return $this->mysqli->real_escape_string($value); } public function countAffected() { return $this->mysqli->affected_rows; } public function getLastId() { return $this->mysqli->insert_id; } public function __destruct() { $this->mysqli->close(); } } ?>
ID del proyecto: 9525470

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
1 freelancer está ofertando un promedio de $20 CAD por este trabajo
Avatar del usuario
Hello, I have gone through your outsourced requirements "Help fixing my Opencart site" and have analyzed that I have right credentials (Skills required PHP, Website Design) to execute your esteemed project. I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... ===== Why choose me? ===== 5.0 / 5.0 rating, 100% completion rate, 100% on-time completion, 100% on-budget :) Kindly, check my profile: http://www.freelancer.com/u/BitLabs.html I work smart, hard, and strictly bid only what we can do! No sub-contracting... ever! You will never go wrong choosing me :)
$20 CAD en 1 día
5,0 (66 comentarios)
5,6
5,6

Sobre este cliente

Bandera de CANADA
Canada
0,0
0
Forma de pago verificada
Miembro desde ene 31, 2016

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.