Post by Macmarice » Wed Apr 29, 2015 1:06 am

I tried installing an Export/Import tool but got this error

"SyntaxError: Unexpected token <
OK
<b>Warning</b>: ftp_login(): Home directory not available - aborting in <b>/home/floxells/public_html/admin/controller/extension/installer.php</b> on line <b>295</b>{"error":"Could not login as flox@floxells.com"}"

how do i fix this?

Newbie

Posts

Joined
Wed Apr 29, 2015 1:03 am

Post by IP_CAM » Thu Apr 30, 2015 12:12 am

> tried installing an Export/Import tool... <
and now, everybody should know, how to assist??
No Site URL, No OC Version Number, no information on the Tool, used..., just nothing, really!
Honestly, what do expect? ???
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Macmarice » Thu Apr 30, 2015 6:26 am

Am really sorry.
New on this forum.

The Opencart Version is 2.0.1.1
I used the extension installer in Opencart
the URL is www.floxells.com

While the file was uploading this error message came up
"SyntaxError: Unexpected token <
OK
<b>Warning</b>: ftp_login(): Home directory not available - aborting in <b>/home/floxells/public_html/admin/controller/extension/installer.php</b> on line <b>295</b>{"error":"Could not login as flox@floxells.com "}"


I will be glad if i can fix it. I have used your previous version & i wonder what working without this tool on this OCversion will wreck me.

Best regards

Newbie

Posts

Joined
Wed Apr 29, 2015 1:03 am

Post by IP_CAM » Fri May 01, 2015 12:43 am

> Am really sorry. New on this forum. < ???

When searching, at google, I find several results, on the same problem, as a matter of fact, the second link, opened, will probably tell you, what you have been doing wrong. Sure, nobody expexts you to read trough 50K of pages, to find a problem. But nobody cares, to endless repeat the same matters either, just because, it's so easy to come here, and expect, super-fast, first Aid, because one is new, at some place!
Google this: exactly, as it is written here:

Code: Select all

"SyntaxError: Unexpected token <OK<b>Warning</b>: ftp_login()" opencart
Good Luck
NO OFFENSE! Just trying to show you, how it DOES work! ;)
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by viethemes » Fri May 01, 2015 1:14 am

You can try to install this extension to fix it.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


New member

Posts

Joined
Fri Jul 29, 2011 11:22 pm

Post by Macmarice » Sun May 03, 2015 10:53 pm

Thanks for your hard lesson.
Got it anyway.
Thank you

Newbie

Posts

Joined
Wed Apr 29, 2015 1:03 am

Post by Macmarice » Sat May 09, 2015 5:22 am

Hello,
Please i have a challenge. I use opencart 2.0.xx
I exported a file and used its format to input all my information.
On reimporting i got the following error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''20150401',0,'Black strap sandal 1.jpg',1,7000.00,0,'2015-05-05 15:00:18','2015-' at line 1
Error No: 1064
INSERT INTO `oc_product` (`product_id`,`quantity`,`sku`,`upc`,`ean`,`jan`,`isbn`,`mpn`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`points`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`length_class_id`,`sort_order`,`subtract`,`minimum`) VALUES (277,5,'','','','','','','',,'20150401',0,'Black strap sandal 1.jpg',1,7000.00,0,'2015-05-05 15:00:18','2015-05-05 15:00:18','2015-05-05',0.45,1,1,0,0,0,0,0,'1','1','1','1'); in/home/floxells/public_html/system/library/db/mysqli.php on line 40Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''20150402',0,'BLACK-&-GREEN-DRESS.jpg',1,5500.00,0,'2015-05-05 15:00:18','2015-0' at line 1
Error No: 1064

I have done and crossed checked my information and really dont see where my challenge should be coming from.
Please can you advise me?

Best regards.

Newbie

Posts

Joined
Wed Apr 29, 2015 1:03 am

Post by IP_CAM » Sat May 09, 2015 6:07 am

it could, evevtually, be as simple as this:

Black strap sandal 1.jpg
BLACK-&-GREEN-DRESS.jpg

and read this:
http://forum.opencart.com/viewtopic.php ... 46#p559646

just to make sure, to make sure, it complies with HTML! ;)

Ernie
bugmax.ch

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by itaishi » Tue Sep 29, 2015 10:02 am

Macmarice wrote:I tried installing an Export/Import tool but got this error

"SyntaxError: Unexpected token <
OK
<b>Warning</b>: ftp_login(): Home directory not available - aborting in <b>/home/floxells/public_html/admin/controller/extension/installer.php</b> on line <b>295</b>{"error":"Could not login as flox@floxells.com"}"

how do i fix this?
hi,
i am on OC2020 (upgraded from OC1564),
have same issue,
after trying install "import\export extension" i get this error in pop up message and also in log:

Code: Select all

PHP Warning:  ftp_login(): Login authentication failed in /home/vhosts/.../admin/controller/extension/installer.php on line 295
this fix i had installed through the extension installer and then refresh cache:
http://www.opencart.com/index.php?route ... uick%20fix

Code: Select all

ENABLE FTP=YES,
searched for couple of hours in the net, please help ???
Thanks in advanced.

Newbie

Posts

Joined
Tue Sep 29, 2015 9:28 am

Post by itaishi » Mon Oct 05, 2015 7:26 am

SOLVED

i put the wrong password in the SETTINGS--->FTP> FTP USER PASSWORD

Newbie

Posts

Joined
Tue Sep 29, 2015 9:28 am
Who is online

Users browsing this forum: No registered users and 285 guests