Author Topic: still problem...  (Read 15538 times)

0 Members and 1 Guest are viewing this topic.

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« on: May 04, 2003, 01:28:41 PM »
hi
i've read FAQ and this forum about installation problem topics.
follow the instruction such as update the config.php, directories permission etc.
Here is my URL: http://okwok.no-ip.com/4images
but the page couldn't be displayed correctly.
Please help. :cry:

andersen

  • Guest
still problem...
« Reply #1 on: May 04, 2003, 01:36:56 PM »
Dear okwok,

are you sure you have the "4Images" at your

http://okwok.no-ip.com/4images  ?

from my view it is empty

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« Reply #2 on: May 04, 2003, 03:15:38 PM »
Dear andersen

Here is the configuration of my Server
Mandrake Linux 9.1
Apache 1.3.27
Mysql 4.0.11
PHP 4.3.1

I copied "4images" to /var/www/html
Correct?

Please help.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
still problem...
« Reply #3 on: May 04, 2003, 03:47:11 PM »
It can't be correct.  At the very least a directory after "/html" called "4images" would have to exist.  As the instructions say, 4images must be copied to your web site's root directory.  Check your documentation or your hosting provider for this information.

andersen

  • Guest
still problem...
« Reply #4 on: May 04, 2003, 04:19:47 PM »
Chris is right too.

I just made another explaination as below

if your domain is under this path like example

"okwok.no-ip.com" = /var/www/html

so 4images should be

"okwok.no-ip.com/4images/ = /var/www/html/4images

P/s: Had you enable php?

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« Reply #5 on: May 04, 2003, 04:31:10 PM »
well, from httpd.conf
'DocumentRoot /var/www/html'
so, i've copied "4images" to my web site's root directory.
there is a directory after /html called "4images".

from the beginning, i could see the installation page.
Then, i follow the instructions (refer to FAQ and installation.txt)
after installation, it told me to download config.php and deleted install.php.
However, it is the problem that the page couldn't be displayed.

anything i miss?
Please help. :oops:

andersen

  • Guest
still problem...
« Reply #6 on: May 04, 2003, 04:44:12 PM »
You should download the "config.php", set all your database information path and upload it again to your server. Then run install.php .

After fully 100% complete then only can delete install.php


===============

But since you said you had install. please login to your server and download the config.php and list in this thread, let us see any error you had made or not. Of course take away your password.

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« Reply #7 on: May 04, 2003, 05:06:11 PM »
hi andersen

i follow these from FAQ

After running install.php, you get the following:
Quote:
The install script is unable to write the config file "config.php" to the server. Click the button below to download a copy of the configuration file and upload this file via FTP to the 4images directory. Once this is done you should log in using the admin username and password and visit the Control Panel to check the general configuration for any required changes."

Downloaded Configuration File

You find that your config.php contains only this:
Code:

<?php  
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/  

$db_servertype =  

 

The config.php file was somehow truncated at line 25.

SOLUTION
Copy config.new.php to config.php. Open config.php in a text editor and enter the right values for the configuration variables.

Assuming you have the following information:

Database Host = "localhost"
Databaes User Name = "myDbUserID"
Database User Password = "myDbPassword"
Database Name = "myDatabaseName"

Your edited config.php should look like this:

 
Here is my config.php and it is saved under directory "4images"

<?php  
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/  

$db_servertype = "mysql";  
$db_host = "localhost";  
$db_name = "okwok_db";  
$db_user = "root";  
$db_password = "******";  

$table_prefix = "4images_";

define('4IMAGES_ACTIVE', 1);  

?>

Then, i run install.php again.
but the message again.

Install success!

The install script is unable to write the config file "config.php" to the server. Click the button below to download a copy of the configuration file and upload this file via FTP to the 4images directory. Once this is done you should log in using the admin username and password and visit the Control Panel to check the general configuration for any required changes." />

what can i do???

please help

andersen

  • Guest
still problem...
« Reply #8 on: May 04, 2003, 05:11:44 PM »
Are you sure all permission had been set?

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« Reply #9 on: May 04, 2003, 05:15:19 PM »
sure.

follow installation.txt

any idea???

andersen

  • Guest
still problem...
« Reply #10 on: May 04, 2003, 05:17:33 PM »
direct to your 4images web address please...

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« Reply #11 on: May 04, 2003, 05:28:11 PM »
my URL is http://okwok.no-ip.com/4images/

please help...

andersen

  • Guest
still problem...
« Reply #12 on: May 04, 2003, 05:36:08 PM »
I don't think your 4images are located at this path.

so me your full path to your root again and the 4images path

Offline okwok

  • Pre-Newbie
  • Posts: 7
    • View Profile
still problem...
« Reply #13 on: May 04, 2003, 05:46:33 PM »
if 4images are not located at this path.
how i can run install.php?
according to the installation.txt
we must use browser to locate install.php to complete the installation.

/var/www/html/
/var/www/html/4images/

now I copied install.php at /ver/www/html/4images/
you might try to run please.

http://okwok.no-ip.com/4images/

andersen

  • Guest
still problem...
« Reply #14 on: May 04, 2003, 05:56:40 PM »
send me your very detail config.php to my private message account

recomemded your temp FTP login information too.