Server wants to download gallery main.php

brew

Joined: 2002-09-18
Posts: 14
Posted: Fri, 2009-10-09 18:18

When accessing /gallery the server pops up a dialog to download the main.php script, instead of running it.

I have reinstalled Apache with php 5.2.11 but the problem persists.

Ant ideas?


Gallery version 2.3:
PHP version 5.2.11:
PHPInfo Link http://ornamentalplaster.com/phpinfo.php :
Webserver Apache 3.2.0 Build 4793:
Database MySQO 5.0.85:
Activated toolkits GD:
Operating system FREEBSD 7.1:
Browser (e.g. Firefox 3.5.3):

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-09 18:30

I just poked around on your site. You don't have all of the G2 files there. Including main.php
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
brew

Joined: 2002-09-18
Posts: 14
Posted: Fri, 2009-10-09 23:36

I've re-uploaded everything but main.php still tries to download instead of running.

I can run /gallery/upgrade/ though. When the upgrade script is finished it takes me back to downloading the main.php file.

Any ideas?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-10-10 00:29

Still doesn't exist.
http://ornamentalplaster.com/gallery2/main.php

Where do you have Gallery installed?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
brew

Joined: 2002-09-18
Posts: 14
Posted: Sat, 2009-10-10 03:04
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-10-10 14:44

I'm not getting prompted to d/l main.php I'm just seeing the page.

One suggestion I'd made, take a look at uninstalling GD and installing ImageMagick as your toolkit.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
brew

Joined: 2002-09-18
Posts: 14
Posted: Sat, 2009-10-10 16:28

I deleted the cache in Firefox and it showed up as it should.

Now I want to figure out why it did that :/

Thanks for your help!

B