[SOLVED] copy plugin config?

Shredder

Joined: 2005-04-28
Posts: 28
Posted: Tue, 2009-10-13 23:15

Hi guys.. I have a virtual dedicated server at godaddy. I have a gallery setup on one of my sites that works fine. All the image toolkits are active and working. I am trying to setup a new gallery on a different site on the same server and I cant get the toolkits to recognize.

Is there a way to copy the plugin config from the one server to the other so all the paths are correct since they are running off the same server?

I am just having a hard time with it because if I enter the location on the server.. for some reason the new server wont see the directory for the executables, so I wanted to test with the other servers plugin config.

the binaries reside in /usr/bin/
if I go to configure the netPBM toolkit on the new server (which already works on the other server)
I enter the correct path where the netPBM binaries reside
under the netPBM directory dialog I get "The path you entered isn't a valid path"
but the same directory is in the jhead directory dialog and it passes the test.

I also go into the directory thru a shell and can run the differnt binaries that are in there..
any help would be appreciated.


Gallery version (not just "2"): 2.3 eng full
PHP version (e.g. 5.1.6): 5.2.6
PHPInfo Link (see FAQ): http://apicaday.com/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache 2.2.8
Database (e.g. MySql 5.0.32): mysql 5.0.45
Activated toolkits (e.g. NetPbm, GD): none yet
Operating system (e.g. Linux):linux fedora 7
Browser (e.g. Firefox 2.0):

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11018
Posted: Tue, 2009-10-13 23:23

I'm betting an open_basedir restriction. The phpinfo link you posted has some in effect and does not list /usr/bin in the list of directories.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
Shredder

Joined: 2005-04-28
Posts: 28
Posted: Wed, 2009-10-14 00:19

hmmm.. it is in the master value.. here is the phpinfo.php for the server that its all working on right now

http://characterfx.com/phpinfo.php

and you can see the /usr/bin is in the master values section but not in the local section just like if you view it on the apicaday.com site.. and it works on the characterfx.com site.

you can see also that I added /var/www/vhosts/apicaday.com/httpdocs to the open_basedir and it still reports a bad directory or file not there..
does it need to be added like I did? or does it need to be formated differently?

Login or register to post comments
Shredder

Joined: 2005-04-28
Posts: 28
Posted: Wed, 2009-10-14 00:21

and looking at it again, now if I put
/tmp/
in the module path for the tool kits it finds them.. so I think by adding apicaday to the open_bsedir it is now remapping to the tmp

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11018
Posted: Wed, 2009-10-14 06:16

So it's working now?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
Shredder

Joined: 2005-04-28
Posts: 28
Posted: Wed, 2009-10-14 20:39

yeah.. as far as I can tell it works like this
I have /usr/bin in the master value for open_basedir
and www.apicaday.com/tmp/ in the local value so its remapping it to /tmp

Login or register to post comments