..config.php.... and could not find error- HELP!!!!!!!!!!!!!

technics

Joined: 2005-02-23
Posts: 3
Posted: Wed, 2005-02-23 21:29

Hi
I keep geting the Error: You must create an empty file named config.php and chmod it 777 before proceeding. See the documentation for more details

and
Error: Could not find /var/www/html/CW-HTML-Coded-Gallery/gallery/netpbm/netpbm/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick).

How do and where do i go about finding/creating the config.php. RE:chmod 777. Does this mean giving it full permissions or how do i do it?

Re: error 2 - the file path is correct. Should I have the file elsewhere.
THANKS A LOT FOR HELPING
............................................
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.corporate-webdesign.com/CW-HTML-Coded-Gallery/gallery/
Gallery version: latest
Apache version: Apache/2.0.46 (Red Hat)
PHP version (don't just say PHP 4, please): 2.5.6
Graphics Toolkit: netpbm10.18.4.1456
Operating system: linux
Web browser/version (if applicable):

 
nitrotn
nitrotn's picture

Joined: 2005-02-09
Posts: 391
Posted: Wed, 2005-02-23 21:32

Hi!

Edit this into your httpd.conf file:

<Directory /var/www/html/CW-HTML-Coded-Gallery/gallery>
AllowOverride Options FileInfo
</Directory>

Restart the apache service.
Rerun the config wizard.

 
technics

Joined: 2005-02-23
Posts: 3
Posted: Thu, 2005-02-24 07:17

Thanks nitrotn,
Tried getting into the file to edit it but it was locked for editing by the provider.
Im using:
Linux
server Apache(red hat) 2.0.46
php4.3.2
uploaded: netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel
uploaded: gallery-1.5-RC1
I made a directory config.php and gave it 777 permission. No luck. What file path would u give for config.php?

Am i using the correct gallery version and netpbm.

You may see the prob immediately here

http://www.corporate-webdesign.com/gallery/setup/phpinfo.php

Thanks again.

 
nitrotn
nitrotn's picture

Joined: 2005-02-09
Posts: 391
Posted: Thu, 2005-02-24 07:38

Hi!

If you log onto the server, you can run this:

touch /var/www/html/gallery/config.php <--- makes an empty file
chmod 777 /var/www/html/gallery/config.php <--- give the file right permissions

NB! config.php is NOT a directory.... If you have made config.php a directory, remove it before you try the things i've described.