Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: No files execute  (Read 4250 times)

0 Members and 1 Guest are viewing this topic.

wetmogwai

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
No files execute
« on: March 18, 2009, 09:40:32 pm »

I'm having the strangest issue I've ever seen. I built a test server to make sure the sites on my live server will work properly with updated versions of PHP and MySQL. I duplicated the sites from the live server. When I try to load Coppermine 1.4.14, I get a blank page. The same thing happens with every php file. I tried the command line PHP5 interpreter and got no output, not even an error message. On the live server, the command line interpreter produces HTML output. That server has PHP4 live. It also has PHP5, but Apache2 is not configured to use it. With the PHP5 command line interpreter on the live server, I get proper results. The test server can run anything else. All other php files outside of the Coppermine directory work. There is no permission difference between that directory and any where everything works. Nothing shows up in logs or in PHP's output. What could be happening?

crossposted to php5forum.com
Logged

Nibbler

  • Guest
Re: No files execute
« Reply #1 on: March 18, 2009, 09:57:49 pm »

You probably don't have error reporting or error logging enabled.
Logged

wetmogwai

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: No files execute
« Reply #2 on: March 18, 2009, 10:02:15 pm »

That was the first thing I checked. It is enabled. PHP5 was set up in the default debugging mode. I've tried modifying that to make it report more, but it still does nothing.
Logged

Nibbler

  • Guest
Re: No files execute
« Reply #3 on: March 18, 2009, 10:08:06 pm »

Create a file with a deliberate fatal error and check that you see the error message.
Logged

wetmogwai

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: No files execute
« Reply #4 on: March 18, 2009, 10:13:51 pm »

That executes and returns the expected error message. The only difference between that and the other files that I can see is that in vi, the Coppermine files say noeol at the bottom. They say that on the live server where it works too, so I didn't think that was likely to have anything to do with it.
Logged

Nibbler

  • Guest
Re: No files execute
« Reply #5 on: March 18, 2009, 10:17:25 pm »

You could see if a new installation of Coppermine works. Can't really help with server setup issues.
Logged

wetmogwai

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: No files execute
« Reply #6 on: March 18, 2009, 10:22:38 pm »

I was considering trying to upgrade it. I'll see what the PHP forum says before I try that. I suspect a problem in PHP itself, but I thought I would try here too in case there was a problem others had seen in Coppermine. Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.