AJAX issue

jfoster81747@gm...

Joined: 2011-09-23
Posts: 5
Posted: Fri, 2011-09-23 22:25

I have installed from the tarball the stable 3.02 which issues an problem; Then I tried the latest development snapshot: I get this after the installation says its done & takes me to the login page::

Quote:
Not Found

The requested URL /gallery/index.php/login/ajax was not found on this server.
Apache/2.2.16 (Debian) Server at beast.dyndns-ip.com Port 80

I have a full java installation though not from Sun but from open java. I have a lot of things that say AJAX as well. I don't know what this error really means & I don't find it previously reported here or elsewhere. Earlier versions of Gallery work fine so I can keep my site operational, but I want to upgrade.

John Foster

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2011-09-24 14:05

Java and AJAX have nothing to do with each other.
http://en.wikipedia.org/wiki/Ajax_(programming)

Quote:
Earlier versions of Gallery work fine so I can keep my site operational

What earlier versions? G1 or G2 or some earlier version of G3?

Quote:
but I want to upgrade.

From G3 or from an older version of Gallery? If from G3, make sure you're following these instructions:
FAQ: How do I upgrade Gallery 3?
____________________________________________
Like Gallery? Like the support? Donate now!

 
jfoster81747@gm...

Joined: 2011-09-23
Posts: 5
Posted: Sat, 2011-09-24 15:31

Sorry but I don't know much about any type of programming esp. AJAX. I was using the G2 from a tar ball and was working fine. New G3 installation gave the error described in previous post. i now suspect that what is missing is some libapache-modajax something or other. I,m checking that out, now, as I do not run many extra libs on apache. I'll post that if I figure it out. Thanks!!
John Foster

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2011-09-24 15:37

Most likely you're missing something listed here:
http://codex.gallery2.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Before_you_start_.2F_System_requirements
____________________________________________
Like Gallery? Like the support? Donate now!

 
jfoster81747@gm...

Joined: 2011-09-23
Posts: 5
Posted: Mon, 2011-09-26 00:33

I have installed this lib into apache2:

Quote:
This package provides the PHP5 Filter module for the Apache 2 webserver (as
found in the apache2-mpm-prefork package). Please note that this package
ONLY works with Apache's prefork MPM, as it is not compiled thread-safe.
Unless you specifically need filter-module support, you most likely
should instead install libapache2-mod-php5.

The following extensions are built in: bcmath bz2 calendar Core ctype date
dba dom ereg exif fileinfo filter ftp gettext hash iconv json libxml
mbstring mhash openssl pcre Phar posix Reflection session shmop SimpleXML
soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml
xmlreader xmlwriter zip zlib.

Perhaps other ideas. This is still unresolved. Does anyone know exactly what the login url is asking for?

John Foster

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2011-09-26 03:46

Can you post a link to phpinfo or a link to your site that'll work?
____________________________________________
Like Gallery? Like the support? Donate now!

 
jfoster81747@gm...

Joined: 2011-09-23
Posts: 5
Posted: Mon, 2011-09-26 14:30

this is a link that will get you to the website for now:
http://beast.dyndns-ip.com/gallery

and for phpinfo:

http://beast.dyndns-ip.com/gallery/phpinfo

maybe this will help.
Thanks for your efforts.

John Foster

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-09-27 01:47

http://beast.dyndns-ip.com/gallery/phpinfo < Not found

http://beast.dyndns-ip.com/gallery/phpinfo.php < Not found

...

Your server isn't creating the combined JS and CSS files that's the problem:
http://beast.dyndns-ip.com/gallery/index.php/combined/css/c0a18fd390ab73b93792f655055ca453
http://beast.dyndns-ip.com/gallery/index.php/combined/javascript/3c525e40f70d9bad4166a407b0dd51be

Check your server's error logs also check Gallery's logs under gallery/var/logs

____________________________________________
Like Gallery? Like the support? Donate now!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-09-27 01:56

Found your phpinfo

Uninstall the apache filter stuff. Read this:

This package provides the PHP5 Filter module for the Apache 2 webserver (as
found in the apache2-mpm-prefork package). Please note that this package
ONLY works with Apache's prefork MPM, as it is not compiled thread-safe.
Unless you specifically need filter-module support, you most likely
should instead install libapache2-mod-php5
.

Just install mod_php (libapache2-mod-php5) and everything else should be working (though you may need to re-install some php extensions that what ever filter module you installed came with)

____________________________________________
Like Gallery? Like the support? Donate now!

 
jfoster81747@gm...

Joined: 2011-09-23
Posts: 5
Posted: Tue, 2011-09-27 04:08

Thanks for the assist. I now have a working edition of stable 3.02 and will commence setting up my new site. It is a pleasure to have qualified assistance especially since you are most likely a volunteer. I look forward to the time when I may assist others myself.
Thanks!

John Foster

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-09-27 09:30

Great! Glad that's working. Your G3 install looks better now :)
____________________________________________
Like Gallery? Like the support? Donate now!