Post by vision404 » Wed Mar 19, 2014 10:12 pm

The error message come after installation. and it remains with store & admin site . but the other things are running well.

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/visionco/public_html/store/system/database/mysql.php on line 6

Please HELP!.

Newbie

Posts

Joined
Wed Mar 19, 2014 10:08 pm

Post by butte » Thu Mar 20, 2014 8:06 am

That is not an error, it is a notice. In admin System / Settings / [Store] / Edit / Server turn off error reporting (to screen) and leave or turn on error logging (to file). It happens that php jumps up and down with looky, looky, when something that works quite well becomes "deprecated" in a later version of php, but in due course in a still later version php will stop dead instead when something is no longer even handled by that version and has become a fatal error. You can use mysqli or pdo (Extensions button top right, ask mysqli pdo).

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by fs100982 » Fri Mar 21, 2014 11:00 pm

butte wrote:That is not an error, it is a notice. In admin System / Settings / [Store] / Edit / Server turn off error reporting (to screen) and leave or turn on error logging (to file). It happens that php jumps up and down with looky, looky, when something that works quite well becomes "deprecated" in a later version of php, but in due course in a still later version php will stop dead instead when something is no longer even handled by that version and has become a fatal error. You can use mysqli or pdo (Extensions button top right, ask mysqli pdo).
Butte,

Thank you for your time in helping the forum.

I am receiving 5 notices:

Notice: Trying to get property of non-object in /home2/fs100982/public_html/bottlehookahs.com/index.php on line 52

Notice: Trying to get property of non-object in /home2/fs100982/public_html/bottlehookahs.com/index.php on line 61

Warning: Invalid argument supplied for foreach() in /home2/fs100982/public_html/bottlehookahs.com/index.php on line 61

Notice: Trying to get property of non-object in /home2/fs100982/public_html/bottlehookahs.com/index.php on line 69

Fatal error: Call to a member function get() on a non-object in /home2/fs100982/public_html/bottlehookahs.com/index.php on line 103

I am using mysqli

Please help/point me in the right direction.

Thanks,
Ferly

Newbie

Posts

Joined
Thu Mar 20, 2014 12:47 am
Who is online

Users browsing this forum: No registered users and 12 guests