Author Topic: install 2 galleries  (Read 57952 times)

0 Members and 1 Guest are viewing this topic.

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.808
  • I ♥ 4I
    • View Profile
Re: install 2 galleries
« Reply #15 on: April 03, 2011, 10:21:42 PM »
Dont work:

Galleri: One
Prefix: 4images_
Domain: http://mysite.de
Location: /

Galleri: Two
Prefix: media_
Domain: http://mysite.de/media
Location: /media

Galleri: Three
Prefix: forum_
Domain: http://mysite.de/forum
Location: /forum

Gallerie Two and Three Files:
constants.php
define('SESSIONS_TABLE''4images_sessions');
define('SESSIONVARS_TABLE''4images_sessions');
define('USERS_TABLE''4images_sessions');


sessions.php
//-----------------------------------------------------
//--- Start Session -----------------------------------
//-----------------------------------------------------
define('COOKIE_NAME''4images_');
define('COOKIE_PATH''/');
define('COOKIE_DOMAIN''');
define('COOKIE_SECURE''0');


Error:
Quote
An unexpected error occured. Please try again later.
ERROR: Could not load configuration settings!

Quote
Bad SQL Query: SELECT setting_name, setting_value
        FROM SETTINGS_TABLE
Table 'd0105be8.SETTINGS_TABLE' doesn't exist

I could fix the problem. The login works now, but the logout does not work.

Gallery Two + Three Files:
constants.php
define('SESSIONS_TABLE''4images_sessions');
define('SESSIONVARS_TABLE''4images_sessionvars');
define('USERS_TABLE''4images_users');


sessions.php
define('COOKIE_NAME''4images_');
define('COOKIE_PATH''/www/htdocs/w00b2576/gnv2/');
define('COOKIE_DOMAIN''');
define('COOKIE_SECURE''0');


config.php
define('SESSION_KEY'"this is a random string, must be identical in each gallery");

I have forgotten in the "gallery one" enter the session key. Now it works as desired
« Last Edit: April 04, 2011, 12:00:37 AM by Sumale.nin »

Offline brez

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: install 2 galleries
« Reply #16 on: October 26, 2011, 02:53:42 AM »
So, is the code on the first post all i need to do? (Up to date)

and...

Does the second gallery appear beside or under the first on Homepage?

Brez

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
Re: install 2 galleries
« Reply #17 on: October 26, 2011, 04:31:05 AM »
So, is the code on the first post all i need to do? (Up to date)
yes

Does the second gallery appear beside or under the first on Homepage?
mmmm if the "homepage" is your first gallery, then second will be under different directory, otherwise they could be beside of each other, it's all up to you.
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 Bob_62

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: install 2 galleries
« Reply #18 on: October 02, 2012, 07:52:26 AM »
This is my first post and I'm not sure how to post this where I need it to go!!!

At the Image Box I insert the image from the browser and then in the box under it "URL" I don't know what to put there to upload the image.  Without the right information in the text box, I get an error message.  Can you walk me through the process as I have about 30 images for my first category.

Thank You
« Last Edit: October 02, 2012, 08:06:46 AM by Bob_62 »