Gallery2 can't be initialised?

robertlindeboom.nl

Joined: 2008-05-09
Posts: 4
Posted: Fri, 2008-05-09 17:59

Hello,

I'm trying to integrate gallery2 in my wordpress site with the wpg2 plugin. It looks like the plugin is installed correctly, but I get some errors. If I look in the wpg2 dashboard, I see:

WPG2 Validation Check: Failed
1. Wordpress Compatible? - [ Success]
2. URI to Gallery2 Ok? - [Success]
3. Gallery2 can be located in G2 File Path? - [Success]
4. Gallery2 can be initialised? - [Failed->]

and

Options not available until WPG2 Plugin is Validated.

I checked the wpg2 paths and they seem correct.
I deactivated and activated the plugin already after upgrading it to 3.0.6.

Other plugins:

Quote:
Akismet 2.1.4

Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a WordPress.com API key to use it. You can review the spam it catches under “Comments.” To show off your Akismet stats just put <?php akismet_counter(); ?> in your template. See also: WP Stats plugin. By Matt Mullenweg.
Active Uitschakelen
cforms 8.4

cformsII offers unparalleled flexibility in deploying contact forms across your blog. Features include: comprehensive SPAM protection, Ajax support, Backup & Restore, Multi-Recipients, Role Manager support, Database tracking and many more. Please see the VERSION HISTORY for what’s new and current bugfixes. By Oliver Seidel.
Active Uitschakelen
Latest version available: 8.4.1
Bugfixes for v8.4
NOTE BEFORE UPDATING: Backup *any* custom files you don't wan't to be overwritten by the AUTO-UPDATE feature of Wordpress!
cforms by delicious:days
There is a new version of cforms available. Download version 8.4.1 here or upgrade automatically.
Comments number Restore 1.0

Hyper Cache is an extremely aggressive cache for WordPress. By Satollo.
Active Uitschakelen
Random TextPlugin URI: http://wordpress.org/# 1.5

When activated you will randomly see a line from the file Hello.php in the upper right of your admin screen on every page. By Matt Mullenweg.
Inactive Activeren
Subscribe2 4.6

Notifies an email list when new entries are posted. By Matthew Robinson.
Active Uitschakelen
Subscribe2 Debug 4.6

Produces Debug Information for the Subscribe2 plugin. By Matthew Robinson.
Inactive Activeren
Subscribe2 Uninstaller 4.6

Uninstalls the Subscribe2 plugin from Manage->S2 Uninstaller. By Matthew Robinson.
Inactive Activeren
WordPress Database Backup 1.7

On-demand backup of your WordPress database. By Scott Merrill.
Active Uitschakelen
WPG2 3.0.6

Embeds Gallery2 within Wordpress to share photos, videos and any other Gallery2 content seamlessly into your Blog & Sidebar Content. Documentation, Support Forums, Change Logs By Ozgreg and WPG2 Team.
Active Uitschakelen

I'm using Wordpress Version 2.5.1
I've already did some search, and possible solutions like increasing the gallery2 php size and restarting the plugin didn't work.

The page to show the gallery pictures is http://robertlindeboom.nl/?page_id=28 and the gallery location is http://robertlindeboom.nl/gallery
Wordpress is installed in http://robertlindeboom.nl/wp.

I don't yet know much about rights (like .htacces) etc. but I tried to give full permission to the gallery directory and the wpg directory. My hosting provider allows me to do this in a plesk environment. This is also the place where I installed gallery and wordpress (which I later updated).

Hope someone can help me.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-05-10 00:04

Hmm that is interesting.. What version of Gallery2 are you running??

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
robertlindeboom.nl

Joined: 2008-05-09
Posts: 4
Posted: Sat, 2008-05-10 10:33

I'll re-installed gallery2 in the directory gallery2.
It's gallery 2.0 release 58. That one is choosable in plesk. I tried to install it manually, but the last time that wouldn't work because I had to choose a directory to store my pictures and that wouldn't work by me.
With some options at the gallery page I get: Internal Server Error.

 
robertlindeboom.nl

Joined: 2008-05-09
Posts: 4
Posted: Sat, 2008-05-10 12:30

Hey, the installation works! Well, I get succesfully through the 11 steps but after installation there's a button that says: go to the gallery, but then the installer starts again. Also if I try /index.php or /main.php it starts to install. Can anyone tell me what I'm doing wrong?

When the installer is installing the plugins I get some lines:

Quote:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin/unzip) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/X11R6/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/sbin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/X11R6/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/X11R6/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

but the installer says the plugins were installed correctly..

By the way, what is the easiest way to change chmod settings? Now I have to login at plesk everytime. I'm using total commander for ftp access.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-05-10 12:31

The version of Gallery2 being installed by plesk is pretty old and not supported by WPG2. Current version is Gallery2 2.24, I would strongly suggest you might want to just install Gallery2 directly yourself rather than via Plesk.. Have you had a chance to look @ the Gallery2 How to Install Page?

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
robertlindeboom.nl

Joined: 2008-05-09
Posts: 4
Posted: Sat, 2008-05-10 14:38
ozgreg wrote:
The version of Gallery2 being installed by plesk is pretty old and not supported by WPG2. Current version is Gallery2 2.24, I would strongly suggest you might want to just install Gallery2 directly yourself rather than via Plesk.. Have you had a chance to look @ the Gallery2 How to Install Page?

Hey, check my earlier post, it works now (well.. i suppose there is only a small problem)

Quote:
Hey, the installation works! Well, I get succesfully through the 11 steps but after installation there's a button that says: go to the gallery, but then the installer starts again. Also if I try /index.php or /main.php it starts to install. Can anyone tell me what I'm doing wrong?

I now temporary changed index.php in the install dir. to index.php.temp to not install it again..

edit: typo, i'm Dutch you know :)

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-11 00:17
robertlindeboom.nl wrote:
When the installer is installing the plugins I get some lines:

Quote:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin/unzip) is not within the allowed path(s): (/var/www/vhosts/robertlindeboom.nl/httpdocs:/tmp) in /var/www/vhosts/robertlindeboom.nl/httpdocs/gallery/modules/core/classes/GalleryPlatform.class on line 910

You might want to post this over @ the Gallery2 troubleshooting forum. It looks like Gallery2 is trying to access OS utilities that are outside of your account (this is what open_basedir restriction in effect) is...

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo