AdminPlugins.js error

dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Mon, 2008-08-11 00:17

I just installed Gallery 2.2.5 and 2.3RC1 on 000webhost.com (free account), it's ok to install but when I try to configure plugin, I got a error. (my site name is http://wedding.no-ip.org/gallery2/)

error message (from Firefox/Firebug):
syntax error
http://wedding.no-ip.org/gallery2/modules/core/templates/AdminPlugin.js
var websiteID='wedding.no-ip.org';\n

I guess it's 000webhost's problem, because I can install it in my PC correctly. But I have no idea how to fix it, is there any suggestion?

 
dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Mon, 2008-08-11 00:23

btw, for other functions:

unstall: ok, the popup window will show
install, active, deactive, : popup window does NOT show, but it works (I can refresh entire page and see the result)

btw, I got the message "Your webserver does not support localization. Please instruct your system administrator to reconfigure PHP with the gettext option enabled." I didn't do anything for it, but I think it should not the function.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2008-08-11 02:44

it's possible that your webhost is adding ads HTML to all pages automatically and that would corrupt the AJAX features of gallery, like the site admin -> plugins stuff.
but to assess that, we'd need to get some URLs to your gallery.

the url you provided isn't working anymore.
(http://wedding.no-ip.org/gallery2/modules/core/templates/AdminPlugin.js)

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Mon, 2008-08-11 02:57

Sorry, it's typo. The following is the correct URL.

http://wedding.no-ip.org/gallery2/modules/core/templates/AdminPlugins.js

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-08-11 03:51
Quote:
t's possible that your webhost is adding ads HTML to all pages automatically and that would corrupt the AJAX features of gallery,

Viewing the source of your Galleyr you have

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript">
var websiteID='wedding.no-ip.org';
</script>
<script type="text/javascript" src="http://analytics.hosting24.com/s.php"></script>
<noscript>
<a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/s.php?websiteID=wedding.no-ip.org" alt="web hosting" /></a>
</noscript>
<!-- End Of Code -->[

added to the page.
We have no controll over this.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Mon, 2008-08-11 04:38

Thanks, I got it. I checked 000webhost's forum and found I can disable the code from http://members.000webhost.com/analytics.php.