| Author |
Message |
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
Posted: Mon Dec 17, 2007 7:39 pm Post subject: Stuck in Step 7 of installation... |
|
|
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?
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 |
|
|
AdBot
|
| Post subject: Stuck in Step 7 of installation... |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Tue Dec 18, 2007 10:16 am Post subject: Re: Stuck in Step 7 of installation... |
|
|
| 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 |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
|
| Back to top |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
Posted: Tue Dec 18, 2007 1:59 pm Post subject: Re: Stuck in Step 7 of installation... |
|
|
Lol, please help me! I opted for editing instead of double posting. |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Tue Dec 18, 2007 3:32 pm Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
Posted: Tue Dec 18, 2007 4:01 pm Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Tue Dec 18, 2007 4:26 pm Post subject: Re: Stuck in Step 7 of installation... |
|
|
| 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 |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
Posted: Tue Dec 18, 2007 4:38 pm Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Tue Dec 18, 2007 8:41 pm Post subject: Re: Stuck in Step 7 of installation... |
|
|
| 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 |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
Posted: Wed Dec 19, 2007 9:19 am Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
talknightlife
Beginner


Joined: Dec 14, 2007 Posts: 4
|
Posted: Wed Dec 19, 2007 9:37 am Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
Posted: Wed Dec 19, 2007 10:03 am Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Wed Dec 19, 2007 10:41 am Post subject: Re: Stuck in Step 7 of installation... |
|
|
| 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 |
|
|
Tahattus
Beginner


Joined: Dec 15, 2007 Posts: 10
|
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Wed Dec 19, 2007 11:36 am Post subject: Re: Stuck in Step 7 of installation... |
|
|
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 |
|
|
|
|
|
|
|