Author Topic: HELP ME!!!!!????????  (Read 9412 times)

0 Members and 1 Guest are viewing this topic.

Offline DBZ Ultimate Fusion

  • Pre-Newbie
  • Posts: 5
    • View Profile
    • http://dbzuf.dbzinfo.com
HELP ME!!!!!????????
« on: November 26, 2002, 11:27:12 PM »
Someone anyone PLEASE help me everytime I do the config I get Parse error: parse error in /home/dbzgtco/public_html/dbzuf/4images/config.php on line 25 AHHHHHHHHHHH someone help I even did the thing where I chnage the code and put in my database stuff someone help me please????? :(

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
HELP ME!!!!!????????
« Reply #1 on: November 27, 2002, 12:25:26 AM »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline DBZ Ultimate Fusion

  • Pre-Newbie
  • Posts: 5
    • View Profile
    • http://dbzuf.dbzinfo.com
HELP ME!!!!!????????
« Reply #2 on: November 27, 2002, 03:01:11 AM »
yes.............

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
What
« Reply #3 on: November 27, 2002, 02:33:47 PM »
And what is on line 25?  Can you post your config.php?  Just leave out your database user access information.

Offline DBZ Ultimate Fusion

  • Pre-Newbie
  • Posts: 5
    • View Profile
    • http://dbzuf.dbzinfo.com
HELP ME!!!!!????????
« Reply #4 on: November 27, 2002, 09:23:35 PM »
Here is the one you dl didnt work <?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 = and here is the config.new

<?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 = "";
$db_name = "";
$db_user = "";
$db_password = "";

$table_prefix = "define('4IMAGES_ACTIVE', 1);

?>

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Yep
« Reply #5 on: November 28, 2002, 12:15:17 AM »
Yep, I can see how line 25 would be a problem.  Somehow your config.php file was truncated.  Copy config.new.php to config.php and just enter the right values for the configuration variables.

Assuming you had the following information:

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

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

$db_servertype "mysql"
$db_host "localhost"
$db_name "myDatabaseName"
$db_user "myDbUserID"
$db_password "myDbPassword"

$table_prefix "4images_";

define&#40;'4IMAGES_ACTIVE', 1&#41;; 

?>

Upload that file by FTP to the 4images directory and try it.

Offline DBZ Ultimate Fusion

  • Pre-Newbie
  • Posts: 5
    • View Profile
    • http://dbzuf.dbzinfo.com
HELP ME!!!!!????????
« Reply #6 on: November 29, 2002, 08:25:48 PM »
OMG THANK YOU YYYYYYYYYYYYYYAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Offline panavision

  • Pre-Newbie
  • Posts: 8
    • View Profile
HELP ME!!!!!????????
« Reply #7 on: December 30, 2002, 11:56:18 PM »
I know the problem, in which file do I specify my admin username and password?

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
HELP ME!!!!!????????
« Reply #8 on: December 31, 2002, 01:12:31 AM »
Quote from: panavision
I know the problem, in which file do I specify my admin username and password?


It's not in a file but in the table 4images_user where the admin is stored (next to all the ordinary users :) )

cheers,
Bernd

Offline panavision

  • Pre-Newbie
  • Posts: 8
    • View Profile
HELP ME!!!!!????????
« Reply #9 on: December 31, 2002, 12:34:57 PM »
What's the user level for admin? The installation didn't add my admin user and password details, so I'll do it manually.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Better yet
« Reply #10 on: December 31, 2002, 03:15:38 PM »
I'd suggest rerunning the installer.  It's generally better to let the 4images scripts modify the database than to hand edit it.  

I'm not sure, but I think you can run the installer again simply by changing:
Code: [Select]
define('4IMAGES_ACTIVE', 1);to:
Code: [Select]
// define('4IMAGES_ACTIVE', 1);
in config.php