svn Gallery2 is appending and extra /srv to the end of all page requests. Where do I fix this?

drankinatty

Joined: 2009-01-31
Posts: 3
Posted: Sun, 2009-02-01 02:08


Gallery version (not just "2"): svn install At revision 19938.
PHP version (e.g. 5.1.6): php5-5.2.8-32.3
PHPInfo Link (see FAQ): www.3111skyline.com/download/webdev/pages/phpinfo.php
Webserver (e.g. Apache 1.3.33): apache2-2.2.4-70.6
Database (e.g. MySql 5.0.32): mysql-5.0.67-20.1
Activated toolkits (e.g. NetPbm, GD):

# Graphics Toolkits

* Dcraw
* Ffmpeg
* Gd
* ImageMagick
* Jpegtran
* NetPBM
* Toolkit Priority

Operating system (e.g. Linux): openSuSE 10.3 x86_64 2.6.22.19-0.2-default
Browser (e.g. Firefox 2.0): ff 3.05

Gentlemen/Ladies:

I need help with the svn release, for some reason gallery is appending an extra "srv" to the end of all page calls generating errors in the apache2 error_log. For example:

[Sat Jan 31 04:07:14 2009] [error] [client 192.168.6.102] File does not exist: /srv/www/htdocs/srv, referer: http://www.3111skyline.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_subView=albumselect.AlbumSelectSiteAdmin

The document root for all openSuSE boxes is /srv/www/htdocs unless set to something other than the default. (no change here) Of course the "File does not exist:" error is perfectly correct because /srv/www/htdocs/srv "does not exist:"

Why is gallery appending an extra "srv" to the end of the documents root? More importantly, where does that get added and how do I stop it?

I have searched the database, the config and every file in the gallery2 install with 'grep -ir srv htdocs/gallery2 and got nothing?

Let me know if I can help by doing any more tests or providing any additional information. I'm happy to help track the issue down. Thanks.

David C. Rankin, J.D.,P.E.
www.RankinLawFirm.com
www.3111skyline.com

 
alexms

Joined: 2010-09-07
Posts: 1
Posted: Tue, 2010-09-07 12:38

Hi there,

Did you ever solve this issue? I'm having exactly the same problem!
I'm running v 2.3.1

Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.4-2ubuntu5.10 apache2handler
Webserver = Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch
Database = mysqli 5.0.51a-3ubuntu5.7, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, Gd, Thumbnail
Default theme = matrix
gettext = enabled
Locale = en_US

Though the extra string appended to my log entries is "var":
[Tue Sep 07 12:02:12 2010] [error] [client 1.2.3.4] File does not exist: /var/www/apache2-default/var, referer: http://mygallery.homelinux.com/gallery2/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_return=%2Fgallery2%2Fmain.php%3F

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-09-07 17:14

How did you install Gallery?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here