Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Stuck in Step 7 of installation...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Mon Dec 17, 2007 7:39 pm    Post subject: Stuck in Step 7 of installation... Reply with quote

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
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Stuck in Step 7 of installation...  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Tue Dec 18, 2007 10:16 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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;
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Tue Dec 18, 2007 11:17 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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.
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Tue Dec 18, 2007 1:59 pm    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

Lol, please help me! Laughing I opted for editing instead of double posting.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Tue Dec 18, 2007 3:32 pm    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Tue Dec 18, 2007 4:01 pm    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Tue Dec 18, 2007 4:26 pm    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Tue Dec 18, 2007 4:38 pm    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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."
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Tue Dec 18, 2007 8:41 pm    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

When I click the link above, it says active admin is not valid. Means you need to run the user synchronization now.
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Wed Dec 19, 2007 9:19 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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
Back to top
Offline View user's profile Send private message
talknightlife

Beginner
Beginner


Joined: Dec 14, 2007
Posts: 4

PostPosted: Wed Dec 19, 2007 9:37 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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"?
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Wed Dec 19, 2007 10:03 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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?
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Wed Dec 19, 2007 10:41 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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__); ?>
Back to top
Offline View user's profile Send private message
Tahattus

Beginner
Beginner


Joined: Dec 15, 2007
Posts: 10

PostPosted: Wed Dec 19, 2007 11:01 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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...
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Wed Dec 19, 2007 11:36 am    Post subject: Re: Stuck in Step 7 of installation... Reply with quote

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?
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2  Next

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia