I changed my hosting and domain name of my site http://ofmodern.co.uk/ ,I did everything right but gives me the following error :
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /customers/9/4/0/ofmodern.co.uk/httpd.www/system/database/mysql.php:6 Stack trace: #0 /customers/9/4/0/ofmodern.co.uk/httpd.www/vqmod/vqcache/vq2-system_library_db.php(12): MySQL->__construct('ofmodern.co.uk....', 'ofmodern_co_uk', 'N5xkvCHR', 'ofmodern_co_uk') #1 /customers/9/4/0/ofmodern.co.uk/httpd.www/index.php(42): DB->__construct('mysql', 'ofmodern.co.uk....', 'ofmodern_co_uk', 'N5xkvCHR', 'ofmodern_co_uk') #2 {main} thrown in /customers/9/4/0/ofmodern.co.uk/httpd.www/system/database/mysql.php on line 6
you can see by clicking on the link.
if someone knows and can help where is the error and how to fix it.version is 1.54
thanks
contemporary design and decoration http://ofmodern.com/
mysqli.zip
located here:
http://www.ipc.li/os/mysqli.zip
will function.
---
The mysql.php Error Message means, that you have a Driver set in your BOTH config.php files, not longer accepted by your new server, therefore mysqli is required, to make your DB work.
You therefore need to change your BOTH config.php content line to:
Code: Select all
define('DB_DRIVER', 'mysqli');
Code: Select all
define('DB_DRIVER', 'mmysqli');
mysqli.php
mmysqli.php
to the:
/shop/system/database/...
Subdirectory, and check, wich one will function.
FIRST, I would try the RUSSIAN Sub File,
mysql.php
wich seems to be a modified version of the default File.
This way, you won't have to modify the config.php files, to start with.
Then, I would try one of the: mmysqli.php files,
then the different: mysqli.php files. But always match your both
config.php CONTENT accordingly first, before testing.
You can easy ADD each one of the corresponding files (with different titles!) onto your server at once,
and since you cannot use your default mysql.php anyway, you can overwrite it with
the RUSSIAN one, to start with as well, and leave the CONFIG.PHP Setting, as it is, for the first test.
Sounds complicated ? It's not, I am just not an english born and speaking Man
Ernie
hitline.info/shop/
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
contemporary design and decoration http://ofmodern.com/
contemporary design and decoration http://ofmodern.com/
but now, get the Atomix TURBO.PHP DB Engine Changer / Indexer, and make your DB FAST!
http://forum.opencart.com/viewtopic.php ... 37#p592237
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
i tried firstly with RUSS folder's file mysql.php file by doing this my admin panel seems blank nothing shows on that.
after this i tried with other files but from those files i am getting the Fetal Error . I am attaching the screenshot of that error. I am using opencart version 1.5.4
Sir Please help me in resolving this problem.
and reply as soon as possible
Attachments
Screenshot_1.png (66.35 KiB) Viewed 15562 times
Possibly rename mmysqli.php to mysqli.php as well, to try it out.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I did the same one my one by renaming the file mmysqli to mysql and after doing this i am getting the error mentioned in screenshot and by changing this my front store becomes blank.
Sir Please help me
thanking you..
Attachments
Screenshot_3 copy.jpg (106.77 KiB) Viewed 15526 times
Sorry!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
After upgrading my hosting server from shared to VPS Server, On my front end whenever i am trying to open the product it shows
The requested URL /index.php was not found on this server.
and on my admin panel i am getting the following error
warning cannot modify header information - headers already sent by (output started at /home/roboshop/public_html/admin/language/english/common/login.php:41) in /home/roboshop/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 55 warning cannot modify header information - headers already sent by (output started at /home/roboshop/public_html/admin/language/english/common/login.php:41) in /home/roboshop/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 57
Please help me
Thanks
I got here through your answer to my question in the Dutch forum http://forum.opencart.com/viewtopic.php?f=99&t=155904.
I tried all of the above but no joy. I keep getting the following message splattered all over my screen, which makes no sense to me (not being a coder).
This seems to be the code it refers to, the first line being 313:Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/hakko/soldeerpunt.nl/vqmod/vqmod.php on line 313
Code: Select all
$modFilePath = preg_replace('/([^*]+)/e', 'preg_quote("$1", "~")', $modFilePath);
$modFilePath = str_replace('*', '[^/]*', $modFilePath);
$return = (bool) preg_match('~^' . $modFilePath . '$~', $checkFilePath);
return $return;
Thanks,
Theo
My OC-shop: http://www.Soldeerpunt.nl
Users browsing this forum: No registered users and 31 guests