4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2018, 10:31:06 PM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Installation, Update & Configuration (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  install 2 galleries
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 [2] Print
Author Topic: install 2 galleries  (Read 38125 times)
Sumale.my
Addicted member
******
Offline Offline

Posts: 1768

Thank You
-Given: 168
-Receive: 83

Neverdie


View Profile
« 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
1
2
3
define('SESSIONS_TABLE''4images_sessions');
define('SESSIONVARS_TABLE''4images_sessions');
define('USERS_TABLE''4images_sessions');

sessions.php
1
2
3
4
5
6
7
//-----------------------------------------------------
//--- Start Session -----------------------------------
//-----------------------------------------------------
define('COOKIE_NAME''4images_');
define('COOKIE_PATH''/');
define('COOKIE_DOMAIN''');
define('COOKIE_SECURE''0');

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

Quote  [Expand]
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
1
2
3
define('SESSIONS_TABLE''4images_sessions');
define('SESSIONVARS_TABLE''4images_sessionvars');
define('USERS_TABLE''4images_users');

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

config.php
1
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

* db.png (163.06 KB - downloaded 24 times.)
« Last Edit: April 04, 2011, 12:00:37 AM by Sumale.nin » Logged
brez
Newbie
*
Offline Offline

Posts: 21

Thank You
-Given: 1
-Receive: 0


View Profile
« 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
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« 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.
Logged

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)
Bob_62
Pre-Newbie

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« 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 » Logged
Pages: «« « 1 [2] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.076 seconds with 19 queries.
Post your comments here