| Author |
Message |
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Sat Jul 30, 2005 2:31 pm Post subject: Problem with G2 for Platinum |
|
|
Ok, I installed Gallery2 (uploaded the module, block, and image onto my server), but am having some problems.
what should I put for:
Gallery2 Full filepath:
Embed URI:
Relative G2 path:
Login redirect:
Active User ID:
?
Everytime I think I have it right, it says "Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder."
"Make sure the modules/gallery2/gallery2.cfg on your server is writable.
If this is not the case: just chmod it to 666 ."
gallery2.cfg "Error: gallery2.cfg is not writable". How do I "just chmod it to 666"?
Thanks for the help
for fullpath I'm doing www/sven/modules/gallery2
any ideas?
I thought all you needed to do was configure it by uploading it to the server and then accessing the module admin. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Problem with G2 for Platinum |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 01, 2005 6:39 am Post subject: Re: Problem with G2 for Platinum |
|
|
| if you have command line access, type "chmod 666 gallery2.cfg" when you're inside your gallery2 directory. if you have a web file manager, you would have to change permissions using it's interface. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 11:00 am Post subject: Re: Problem with G2 for Platinum |
|
|
Ok, I've never done this before. Command line access? Does that mean .htaccess? If so, where in the .htaccess would I type that. Or do you mean open up gallery2's index.php and type it somewhere in there.
Can you please be a bit more specific...I just need to learn where to type the chmod once and I'll understand it.
Thanks |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 11:37 am Post subject: Re: Problem with G2 for Platinum |
|
|
| Thanks for the tutorial...atleast I understand it now; the only part that it was missing was that it never told me what file to open to modify! |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 01, 2005 11:39 am Post subject: Re: Problem with G2 for Platinum |
|
|
| you need to chmod gallery2.cfg to 666. there are no files that need to be opened. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 11:52 am Post subject: Re: Problem with G2 for Platinum |
|
|
| AARRGGHHH...ok we're back where we started. So where on earth do I type "chmod 666 gallery2.cfg"? THere's gotta be a file or something or someplace where I type that. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 01, 2005 11:55 am Post subject: Re: Problem with G2 for Platinum |
|
|
there are no files to be opened. you use a terminal program like telnet or ssh to connect to your host. you then navigate to the gallery 2 directory and issue the chmod COMMAND.
if you do not have shell access, and your host uses Cpanel or some other web-based file manager, you must use it instead.
some ftp programs offer the capability of changing file permissions as well. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 12:15 pm Post subject: Re: Problem with G2 for Platinum |
|
|
There we go thank you. I found a good tutorial http://www.zachjorgensen.net/za/chmodtutor.html
Didn't realize I had that option on my FTP...thanks for being patient. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 12:22 pm Post subject: Re: Problem with G2 for Platinum |
|
|
Ok this is what my gallery2.cfg looks like:
<?
$g2embedparams = array (
'embedphpfile' => '/modules/gallery2',
'embedUri' => 'http://www.Snoboreders.com/modules.php?name=gallery2',
'relativeG2Path' => '/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'false'; ?>
Any idea why I still get this error? "
Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder."
I thought it was pointing to the root. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 01, 2005 12:59 pm Post subject: Re: Problem with G2 for Platinum |
|
|
your embedphpfile is wrong.
it should be something along the lines of /home/yourusername/public_html/modules/gallery2/ (you need the COMPLETE filesystem path). if you don't know what it is, create a php file with the following in it:
PHP: › <?php echo dirname(__FILE__); ?> and put it in your gallery2 folder. then, view the file through your web browser (ie, http://www.yoursite.com/modules/gallery ... ename.php) and use the value that's printed on the screen.
then, you MUST export your users before the configuration will be complete. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 3:03 pm Post subject: Re: Problem with G2 for Platinum |
|
|
Ok, thanks for the help...I got up to the export users part and then:
Warning: init(/home/sven/public_html/sven/modules/gallery2/home/sven/public_html/sven/modules/gallery2embed.php): failed to open stream: No such file or directory in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 169
Fatal error: init(): Failed opening required '/home/sven/public_html/sven/modules/gallery2/home/sven/public_html/sven/modules/gallery2embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 169
Why are the repeating the folders...shouldn't it only be /sven/modules/gallery2/admin/index.php?
Line 169 is this: require_once ($g2embedparams[embedphpfile]."/"._G2_EMBED_PHP_FILE);
any idea? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 01, 2005 5:05 pm Post subject: Re: Problem with G2 for Platinum |
|
|
| post your config lines. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Mon Aug 01, 2005 10:12 pm Post subject: Re: Problem with G2 for Platinum |
|
|
<?
$g2embedparams = array (
'embedphpfile' => '/home/sven/public_html/sven/modules/gallery2',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'gate.html?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'false'; ?> |
|
| Back to top |
|
|
|
|
|
|
|