Topic Title: Stuck in Step 7 of installation...

Forum Index » phpBB3 / Gallery 2 Integration » Stuck in Step 7 of installation...
Topic URL: http://www.nukedgallery.net/postt3818.html

AuthorMessage
Post Title: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Mon Dec 17, 2007 7:39 pm
Installing this is so boring... but it's even worse when I come across this problem. When I click on "synchronize users", I get an error message:

Code: › .../phpBB3/includes/acp/acp_gallery2.php
Line: 948
Could not obtain config settings from phpbb_gallery2.


What happened? Sad

EDIT: Also, when finished configuring the settings, I got these errors:

Code: › [phpBB Debug] PHP Notice: in file /includes/functions.php on line 2878: Missing argument 3 for msg_handler(), called in /includes/acp/acp_gallery2.php on line 64 and defined
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 2878: Missing argument 4 for msg_handler(), called in /includes/acp/acp_gallery2.php on line 64 and defined

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Tue Dec 18, 2007 10:16 am
You are actually stuck in step 5 - Configuration Settings and you probably have not created the gallery2 db table per the mod instructions (possibly not executed other sql operations per other mods such as the style mods)
Code: › #
#-----[ SQL ]------------------------------------------
# (Use correct table prefix if not phpbb)
#
CREATE TABLE `phpbb_gallery2` (
`fullPath` VARCHAR( 255 ) NOT NULL,
`embedUri` VARCHAR( 255 ) NOT NULL,
`g2Uri` VARCHAR( 255 ) NOT NULL,
`activeAdminId` INT NOT NULL,
`exportData` TEXT NULL,
`link` TINYINT( 1 ) NOT NULL,
`allLinks` TINYINT( 1 ) NOT NULL,
`allLinksAlbums` TINYINT( 1 ) NOT NULL,
`allLinksLimit` VARCHAR( 10 ) NOT NULL
);

INSERT INTO `phpbb_acl_options` ( `auth_option_id` , `auth_option` , `is_global` , `is_local` , `founder_only` ) VALUES (NULL , 'a_gallery2', '1', '0', '0');

ALTER TABLE `phpbb_users` ADD `user_gallery` VARCHAR(10) NULL DEFAULT NULL;

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Tue Dec 18, 2007 11:17 am
Hehe, I'll take a look at that. Thank you. Later, I'll tell you if worked.

EDIT: Actually, it did not work. Everything you said I had already edited in the DB... So I don't know what's happening ^^'

So, I took a few screenshots of everything that's new to the DB.

http://img.photobucket.com/albums/v55/T ... os/001.jpg
http://img.photobucket.com/albums/v55/T ... os/002.jpg
http://img.photobucket.com/albums/v55/T ... os/003.jpg
http://img.photobucket.com/albums/v55/T ... os/004.jpg

Please tell me if I wrote anything wrong or If i forgot anything. If everything is ok, tell me which file should I look for errors. Also, tell me if there's any configuration that might be wrong in the phpbb3 forum itself, since I recently changed my host and imported most configuration.

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Tue Dec 18, 2007 1:59 pm
Lol, please help me! Laughing I opted for editing instead of double posting.

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Tue Dec 18, 2007 3:32 pm
The config table is there, so it must not contain any data. Have you run through the Configure Settings option? What are the settings?

ACP->General->Gallery2 Settings->Configuration Settings

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Tue Dec 18, 2007 4:01 pm
The settings are:

/gallery2/
/phpBB3/gallery2.php
(blank)
0

I have absolute no idea of what might be wrong... could it be a database server problem? I'm using a free one from db4free.

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Tue Dec 18, 2007 4:26 pm
The full file path to embed.php needs to be filled in. It will attempt to find this path on it's own when you hit 'submit', if not successful, you will have to manually fill it in. It's an actual file path like so... /htdocs/gallery2/embed.php

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Tue Dec 18, 2007 4:38 pm
I can see where embed.php is, so i typed it correctly. I get this message:

"Error 142761764: '' retrieving http://lordtahattus.110mb.com/phpBB3/gallery2.php
Configuration data successfully saved, but errors were encountered."

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Tue Dec 18, 2007 8:41 pm
When I click the link above, it says active admin is not valid. Means you need to run the user synchronization now.

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Wed Dec 19, 2007 9:19 am
Sadly, I get this error message when synchronizing:

Code: › [phpBB Debug] PHP Notice: in file /includes/acp/acp_gallery2.php on line 951: acp_gallery2::require_once(/gallery2/embed.php) [function.acp-gallery2-require-once]: failed to open stream: No such file or directory

Fatal error: acp_gallery2::require_once() [function.require]: Failed opening required '/gallery2/embed.php' (include_path='.:/usr/share/php') in /www/110mb.com/l/o/r/d/t/a/h/a/lordtahattus/htdocs/phpBB3/includes/acp/acp_gallery2.php on line 951

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
talknightlife
Joined: Dec 14, 2007
Posts: 4

Posted: Wed Dec 19, 2007 9:37 am
Tahattus wrote: › Sadly, I get this error message when synchronizing:

Code: › Fatal error: acp_gallery2::require_once() [function.require]: Failed opening required '/gallery2/embed.php' (include_path='.:/usr/share/php') in /www/110mb.com/l/o/r/d/t/a/h/a/lordtahattus/htdocs/phpBB3/includes/acp/acp_gallery2.php on line 951


I'm no expert on this integration (yet) but it looks to me like your "Full file path to embed.php" configuration setting is still incorrect. Your setup is looking for it at "/gallery2/embed.php", and it's not finding it.

Is your embed.php file at "/htdocs/gallery2/embed.php" like you mentioned in an earlier post? Or is it at "/www/110mb.com/l/o/r/d/t/a/h/a/lordtahattus/htdocs/gallery2/embed.php"?

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Wed Dec 19, 2007 10:03 am
I'm currently trying to type full path (http://...) or as you showed above, but still gets the same error.

Code: › Error 142771212: '' retrieving http://lordtahattus.110mb.com/phpBB3/gallery2.php


The error is always the same, but changes the file path as I try to change in the config. Maybe I'm simply writing the gallery.php path incorrectly?

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Wed Dec 19, 2007 10:41 am
The full file path to embed.php has to a full file path, not a url path (http://whatever will not work). The problem is you have not given it the actual file path to embed.php yet or your host is using aliased directories. Try putting this in the gallery root directory and hitting it with your browser. It should give you the needed file path, then you will just need to put the embed.php part at the end.
Code: › <?php echo dirname(__FILE__); ?>

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Wed Dec 19, 2007 11:01 am
Laughing This is getting so fun. This thing is so weird ^^'

1) I found the correct file path for embed.php, but nothing changed (still the same error in config screen)

2) Now, when trying to synchronize users, I get this message:

Code: › [phpBB Debug] PHP Notice: in file /www/110mb.com/l/o/r/d/t/a/h/a/lordtahattus/htdocs/gallery2/modules/core/classes/Gallery.class on line 600: set_time_limit() has been disabled for security reasons
[phpBB Debug] PHP Notice: in file /www/110mb.com/l/o/r/d/t/a/h/a/lordtahattus/htdocs/gallery2/modules/core/classes/Gallery.class on line 600: set_time_limit() has been disabled for security reasons
[phpBB Debug] PHP Notice: in file /adm/index.php on line 149: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 151: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)


3) Be patient ^^' I know nothing about php and such...

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Wed Dec 19, 2007 11:36 am
You can ignore the message in the config screen, it is simply saying that it couldn't find or verify the path on it's own.

The time limit notice is because your host has some features of php disabled. Did the script run anyway?

Gallery does run in stand-alone mode, right?

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Wed Dec 19, 2007 11:43 am
1) ok
2) oh-oh...
3) Yes, gallery works fine alone.

AuthorMessage
Post Title: Re: Stuck in Step 7 of installation...
Tahattus
Joined: Dec 15, 2007
Posts: 10

Posted: Wed Dec 19, 2007 11:58 am
WAIT! I guess it's working. I disabled the set_time thing!! Let me keep going.

EDIT: It works... or partially. Members can't log in at gallery, since password is considered incorrect. Also, there are two of me, each administrating each site, phpbb3 and gallery2 Very Happy Members password only work when I edit them mayself.

EDIT 2: There are no references to the gallery inside the forum. A "gallery 2" link used to appear next to "log in", but disappeared. Razz Members are fine, but looks like forum and gallery don't know that the other exists...

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group