php Fatal error

razor

Joined: 2003-03-19
Posts: 1
Posted: Thu, 2003-03-27 05:24

I just uploaded the files for the gallery and went to run the configuration wizard and when the index.php page loads it says al error: Call to undefined function: exec() in /users/iwebland.com/zpcentral03/gallery2/platform/fs_unix.php on line 32. What do i do?

Login or register to post comments
joan
joan's picture

Joined: 2002-10-21
Posts: 3485
Posted: Thu, 2003-03-27 09:27

You need to talk to your host. He's presumably turned "exec" off for security reasons. You can't use gallery without it - you need it to copy files, build thumbnails etc etc.

[exec allows you to call operating system functions - gives you a lot of power]

Login or register to post comments
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8187
Posted: Thu, 2003-03-27 13:14

If your host refuses, you can try to implement PHP as a CGI (FAQ section 2.3). However, this is typically not successful. Good luck with your host :smile:

Login or register to post comments
nick_rembis

Joined: 2003-01-20
Posts: 524
Posted: Fri, 2003-03-28 07:23

Tell your webhost they should remove this statement:

"PHP4 Support (This is unique and unprecedented among free hosting companies! NO ONE offers this!! Not even most PAY hosting companies! With PHP you can have your own scripts and handle even the database for your business, or anything else you want!!!)"

That is on there mainpage! and is actually not true and is a false and mis-leading statement to make.

Login or register to post comments