Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 v6.9.3 froala and side menu
Author « Topic »  

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/11/2018 :  11:26:42  
Hi All

I am redoing a website we did back in 2003

Now I have downloaded latest release and redoing a front end of the site... and using the froala html editor

very nice editor but doesnt seem to want to drag and drag and upload the photos - it errors out.. file permissions are fine so wondering if it needs anything server side?

the side menu is also showing some strange characters http://www.baby-barn.co.uk/index1.php see under pushchairs so any suggestions there?

Many thanks
Richard

Andy
ECT Moderator

95440 Posts

Posted - 07/11/2018 :  12:01:14  
Hi Richard

Can you look at my last post here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110209&whichpage=2

Andy

Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 07/11/2018 :  15:59:09  
That's often down to using a different characterset in the admin and on the frontend webpages. Check if this line is in your includes file $adminencoding="utf-8";

If not, add it and check that having done so has cleared the strange characters, Ctrl+F5 to force refresh.

Ideally the admin and the webpages should both be using the same character set

Check out this topic [url]https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=109776[/url]

Will - Bolton Manchester UK

Edited by - V45 on 07/11/2018 16:08:02

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/11/2018 :  22:54:41  
thanks will thats fixed the characters:)

with the froala I created a php.inifile and added:
extension=php_fileinfo.dll

so I know that extension is on and working - still no joy so will check out your post Ansy

Thank you both for the help

Andy
ECT Moderator

95440 Posts

Posted - 07/11/2018 :  23:58:49  
Can you check if imagick is also enabled?

Andy

Please feel free to review / rate our software

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  01:21:29  
thanks Andy looking at imagik now :)

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  01:35:13  
Yes imagick is enabled and still having issues... got to shoot out now hospital appointment but willcheck the php ini file thoroughly when i get back and try again

Andy
ECT Moderator

95440 Posts

Posted - 07/12/2018 :  02:19:41  
Can you let us know the error message you get?

Andy

Please feel free to review / rate our software

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  07:22:31  
MySQL Version 10.1.27-MariaDB
PHP Version: 5.6.36

Cart version PHP v6.9.3

I have both enabledon the hosting:
extension=php_fileinfo.dll
extension=php_imagick.dll

The error message ..
The blue progress bar goes all the way over to 100% the image appears to be there
Then the error message reads:
"Something went wrong. Please Try again."

Andy
ECT Moderator

95440 Posts

Posted - 07/12/2018 :  08:59:27  
Do you have the permissions on the /prodimages/ set to 777?


Andy

Please feel free to review / rate our software

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  09:22:29  
Hi Andy

yes file permissions 777 on prodimages and still the problem remains

Im going to try a different web browse and see if its something as daft as that

Ill let you know

Kind Regards
Richard

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  09:25:13  
no not browser related either chrome and firefox doesnt work
Sorry

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 07/12/2018 :  09:49:10  
[quote]no not browser related either chrome and firefox doesnt work [/quote]
I have enabled imagick and fileinfo on 3 websites (1 is a live site - the other two are just test sites) hosted with 3 different hosting providers and no way does the image upload work. The browsers I've tried this with are Firefox, Chrome, Edge, Opera and IE & exactly the same result - zilch :-(

Will - Bolton Manchester UK

Edited by - V45 on 07/12/2018 09:50:02

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  10:32:12  
Thanks Will... at least I know I am not being dim and missing the obvious :)
I have been reading through the forums on the froala and it is an awesome editor... the drag and drop works on wordpress sites on the same servers as the one I am working on with this particular project so its doable..
But given different hosts and 3 different sites there is obviously something simple we are missing.
I am going to throw a few hours at it this evening and see if I can find anything - ill post it here if I find anything

Andy
ECT Moderator

95440 Posts

Posted - 07/12/2018 :  10:37:31  
I'm not sure what the problem could be but I'll have a look around too.

Andy

Please feel free to review / rate our software

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/12/2018 :  10:40:52  
thanks Andy :) glad its not just me as I was feeling all alone and isolated with my problem until will jumped in :)

Andy
ECT Moderator

95440 Posts

Posted - 07/13/2018 :  01:17:42  
I haven't found any other PHP requirements or anything like that. If you'Ąd like to send me an email with your control panel and FTP details I'll take a look.

Andy

Please feel free to review / rate our software

Andy
ECT Moderator

95440 Posts

Posted - 07/14/2018 :  03:30:33  
Working with Richard yesterday and if you get the same problem, here's what you can do

In Chrome right click on the image it's trying to upload and choose "Inspect" and you may see this reported

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
froala/upload_image.php?loc=1

Ask your host to turn off friendly error messaging to see the underlying error being masked. The error reported was

PHP Warning: PHPStartup: Unable to load dynamic library '/usr/lib64/php56/modules/php_fileinfo.dll' -
/usr/lib64/php56/modules/php_fileinfo.dll: cannot open shared object file:
No such file or directory in Unknown on line 0:
/home/sites/mysite/public_html/vsadmin/ajaxservice.php

Which suggests that php_fileinfo.dll may not be activated

You can check that in your server PHP settings.

Andy

Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 07/14/2018 :  05:08:13  
Hi Andy,

That is exactly what I see. I've raised a ticket with the hosts to request friendly error messages to be switched off.
Running phpinfo shows no sign of fileinfo. I await host response

[url]https://www.dropbox.com/s/mp1fzfxylwyt4vf/froala-error.jpg?dl=0[/url]

Will - Bolton Manchester UK

Edited by - V45 on 07/14/2018 05:22:28

webspaceunlimited
Advanced Member

United Kingdom
156 Posts

Posted - 07/14/2018 :  06:17:16  
Hi Will

We are a little unfortunate in this country as imagikk isnt a standard server side option on the bulk of servers under heart internett, daily, fassthosts, go daddy.. 123 reg .. basically all the host europe companies.

Means necessary upgrade to vps rather than any cheaper shared environment

Now I have been speaking with the guys at host europe etc... pointing out that this is a potentially bigger issue in that the froala wysiwyg editor is better than anything else out there at present and .. there is already the wordpress froala upgrade - wordpresscompatibility and easy install being the single largest selling point on any shared server.

Appologies to Andy yesterday (he is helpful as always and more patient than I ever will so cheers Andy you are a genuine help) me being tired stressed out checked the windows not linux ,machines and dropped a windows php ini command line on the linux servers and complained it didnt work.. well really of course it didnt.. I was being dim.

Anyway I have also emailed froala and asked if the server sxtension GD could be uised insteasd (this is much more prevalently utilised on the host europe groups servers)

insight
ECT Moderator

USA
4476 Posts

Posted - 07/14/2018 :  09:51:05  
quote:
We are a little unfortunate in this country as imagikk isnt a standard server side option on the bulk of servers under heart internett, daily, fassthosts, go daddy.. 123 reg .. basically all the host europe companies.

Means necessary upgrade to vps rather than any cheaper shared environment

We have shared hosting, both Windows and Linux, in our London data center so while that would be an upgrade in itself it doesn't force you deal with managing a VPS.

Peter

ServeLink
Professional ecommerce web hosting for ASP & PHP
https://servelink.com

Take a look at our image upload/resize tool for the ASP cart
https://servelink.com/clients/cart.php?gid=7
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000