I'm creating on online shopping cart
Autor: Anthony B.
Visitado 2771,
Seguidores 2,
Compartilhado 0
I have created an online shopping cart and db for the cart, when I visit my website there are no products available showing. In preview mode on websitex5 12 pro it shows available products 1 on both cart items. When I go to the product list tab on shopping cart and click the update button I get this message " Connection error: it is not possible to complete the operation"
My website is http://justbaby4u.co.uk
Any help or advice would be much appreciated. Thank you
Publicado em
Autor
I exported the products list to Ms excel.csv and then imported them into the hosting db, this is the message I received back:
Error
There is a chance that you may have found a bug in the SQL parser. Please examine your query closely, and check that the quotes are correct and not mis-matched. Other possible failure causes may be that you are uploading a file with binary outside of a quoted text area. You can also try your query on the MySQL command line interface. The MySQL server error output below, if there is any, may also help you in diagnosing the problem. If you still have problems or if the parser fails where the command line interface succeeds, please reduce your SQL query input to the single query that causes problems, and submit a bug report with the data chunk in the CUT section below:
----BEGIN CUT----
eNrVjTtOw0AURaeeVdwFmNF7Y+yBoXISK0Eaf+IJRErnfAo3juQkiKyNgiWxBeyUFFARKad50rlH
emlVFZXFmDHWcGlu8YBHRBxLv+i9kDI7+7mzYFKkNN1lddfUk5F88RUKHyCZpvkiwGva18umRVas
np1LECmSZZZYhCpSWmlZzsqhCgpvMRg2cE17epcuyacWu1Ze/qzr9VltDm/iHyEmMsYIuqB/XOKQ
Q8HaxKRjDum+90yDI3EFTodj3QGiE/tfu7/2G+Xr47PZPn0D4gQ3iQ==
----END CUT----
----BEGIN RAW----
ERROR: C1 C2 LEN: 8 9 516
STR:
MySQL: 10.0.20-MariaDB
USR OS, AGENT, VER: Win MOZILLA 5.0
PMA: 3.5.2.2
PHP VER,OS: 5.2.17 Linux
LANG: en
SQL: baby.csv010077700000020000002000000013131276026130400103130ustar roro?id;
----END RAW----
SQL query:
baby.csv010077700000020000002000000013131276026130400103130ustar roro?id;
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'baby.csv' at line 1
Hello Anthony,
It seems that both WebSite X5 and your site are unable to connect to the MySQL server.
I would suggest to check your connection settings and to visit the "/admin" section of your site. There you can execute the site's self-test to ensure that the MySQL connection can be correctly established.
Thank you
Autor
Hi Claudio, I had tried that and all 4 tests came up passed. That was the first thing I checked out.
Using cube cart from my hosting provider works fine, my provider is hostinger.co.uk
Thank you very much for your reply.
Autor
Hi Claudio, even though the available product showing is 0 if I click on add to cart it will actually work the test url is http://justbaby4u.co.uk/jb4u/
Hello Anthony,
In your site I see the following warning:
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'u392150678_baby'@'10.2.1.54' (using password: YES) in /home/u392150678/public_html/jb4u/res/x5engine.php on line 3417
It seems that the MySQL access is not working yet.