Welcome, Guest
Username: Password: Remember me
here you can submit any topics related ExtraWatch

TOPIC: Javascript error - ew_Utf8Encode

Javascript error - ew_Utf8Encode 2 years 4 months ago #43

hello,

the addon looks fine in backend, but no data will be collected.
I call the page with firefox and active Firebug console and see 2 errors:
see attachment

The reason of this error is the unknown class ew_Utf8Encode.
This is defined in the file:
\app\code\community\CodeGravity\ExtraWatch\extrawatch\components\com_extrawatch\js\extrawatch.js
but at frontend, this file will not be loaded.
I have cleared the HTML- and Javascript and CSS cache in Magento backend.

What can I do to fix the problem?

PS:
the Domain of the Mage-Shop is:
www.lape-kosmetik.de

greetings
Torsten
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 4 months ago #44

I have wrote with mk fot this problem and he has FTP-access to the server.
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #87

Hi,
I apologize for delay in times of holiday, it's solved now. Just waiting for hosting company cause they have some FTP servers outage to upload new files.
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #88

OK, Files are now uploaded.
Please get the latest version from customer download zone. I've tested it on local magento and worked well. Thank you for your golden patience and thank you for understanding.
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #90

In frontend still the Javascript error occures. Now I have add the javscript explicit in my theme.

<script src="lape-kosmetik.de//app/code/community/Cod...tch/js/extrawatch.js" type="text/javascript"></script>

After this: no more errors, but in backend the ExtraWatch addon say again: no data available yet. The request and the anwser I have added as screenshot to this reply.


So, I have create a local fresh and empty Magento 1.9.0.1 installation and then I have try to install the EW addon (2.3 PRO 2119) via MagentoConnect Manager.
This try fails with the following message:
CONNECT ERROR: Failed to open file D:\xampp\htdocs\magento\var\ExtraWatch-2.3.2119\app/code/community/CodeGravity/ExtraWatch/extrawatch/administrator/components/com_extrawatch/img/ico

BTW: Is the addon not compatible with Mage 1.9 ?

Then I have install a fresh and empty Magento 1.8, and try to install the EW addon (2.3 PRO 2119) via MagentoConnect Manager. But the result is also the error message:
CONNECT ERROR: Failed to open file D:\xampp\htdocs\magento18\var\ExtraWatch-2.3.2119\app/code/community/CodeGravity/ExtraWatch/extrawatch/administrator/components/com_extrawatch/img/ico

Whats wrong? Is it possible that the addon has a problem with Windows as server platform (for localhost)?

greetz
Torsten
Attachments:
Last Edit: 2 years 3 months ago by t.hinze.
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #100

Hi Torsten,
yes, I've tested it on mage 1.9 on local windows. I'm wondering why you're getting that errors. Could you please send me the copy of your XAMPP on which you're testing it? via zu.gg
I was using uniform server and there it worked well. And yes on windows installation.

Thank you.
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #121

I will pack my env. for you and you can download the following files:

dev-positiv.de/tmp/xampp_thinze.7z
dev-positiv.de/tmp/magento18.zip

Advice:
My configuration is this:
c:\xampp - my XAMPP installation
d:\xampp\htdocs - the htdocs folder for my XAMPP

I hope you found the reason because my customer want to start with your addon, but the described error stop our progress.

greetz
Torsten
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #122

Torsten, this is a public forum !
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #123

Ok - thx for disable public view.
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #129

Hi,
I'm now trying to setup your magento with localhost.com and everything.. quite a painful process..
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #148

Sorry - what can I do to make your research easier?
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #149

I will try the same version of XAMPP and install same version of magento from scratch
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 3 months ago #157

Finally reproduced the issue !!!

CONNECT ERROR: Failed to open file D:\prog\xampp\htdocs\magento18\var\ExtraWatch-2.3.2132\app/code/community/CodeGravity/ExtraWatch/extrawatch/administrator/components/com_extrawatch/img/ico

Will fix it and let you know when it's done
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 2 months ago #218

Thanks for the investigation and correction of the addon.
Unfortunately it does not work for me. I tested it with Windows (XAMPP) and Linux (hosting server). On both systems I see the following error message:
CONNECT ERROR: Unsupported resource type

On the net you can find many results by search for this error message.
e.g. .: stackoverflow.com/questions/24143668/mag...when-uploading-tgz-p

I'm sorry, but the addon needs some fine-tuning.

regards
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 2 months ago #236

OK one more bugfix.
It works now on our demo server without any problem:
codegravitydemo.com/magento/PRO/index.php/admin
This email address is being protected from spambots. You need JavaScript enabled to view it. -> demo12345

Please get the latest file from download zone
The topic has been locked.

Javascript error - ew_Utf8Encode 2 years 2 months ago #280

What I found out after struggling with this issue for long time:
- Installation of same package on UniServer (PHP+MySQL+Apache) => NO PROBLEMS
- Installation of same package on XAMPP => MANY PROBLEMS

there were no changes in the resulting tar file and there is no other way how to pack it.
Cause it already uses format where there are long paths allowed.
So my advice is:
Get rid of XAMPP and use UniServer - everything works and is even faster!
I tried to compare both server's php.ini files and I found no extra differences in a way that tar mechanism should be handled differently. So I'd advise you to report this to XAMPP.
This is the only problem -> XAMPP. That tar archives work on unix hosting servers even windows hostings.. again and again, problem == XAMPP

Get rid of it and switch it to other LAMP solution and I guarantee you that it works there. I don't know what to do more with it, I've spent almost 3 days of my life reading about tar files and modifying build script and so on, but again, it works everywhere, except XAMPP. Please ask THEM why.

Thank you for your understanding
The topic has been locked.
Time to create page: 0.152 seconds
Joomla SEF URLs by Artio
X

Drop us your message