4images Issues / Ausgaben > Installation, Update & Configuration

install 2 galleries

<< < (4/4)

Sunny C.:
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!
--- End quote ---


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

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

brez:
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

V@no:

--- Quote from: brez on October 26, 2011, 02:53:42 AM ---So, is the code on the first post all i need to do? (Up to date)
--- End quote ---
yes


--- Quote from: brez on October 26, 2011, 02:53:42 AM ---Does the second gallery appear beside or under the first on Homepage?

--- End quote ---
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.

Bob_62:
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

Navigation

[0] Message Index

[*] Previous page

Go to full version