Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Can't install event_calendar & image_gallery White Page


Go to End


11 Posts   3053 Views

Avatar
Funfair77

Community Member, 49 Posts

20 May 2010 at 12:41am

Edited: 20/05/2010 12:41am

Hello,

More people had this problem, but the solution was something like wrong folder name or bad SS installation. That's not mine.

I tested the 2 modules event_calendar & image_gallery by installing them on a server. It works. Now I installed it on the final server, RUN /dev/build?flush=1, but it doesn't work, a white page appear.

I can't force an php error, so I can't figger out what's the problem.

What's your suggestion folks?!

Marnix

Avatar
UncleCheese

Forum Moderator, 4102 Posts

20 May 2010 at 2:00am

It's really impossible to know what's going on if you're just getting a white screen. You really need to enable error reporting in your PHP config. Your hosting provider should be able to help you with that.

Avatar
Funfair77

Community Member, 49 Posts

20 May 2010 at 2:04am

I'll ask my hosting provider, I come back to this post with or no results.

Avatar
Funfair77

Community Member, 49 Posts

25 May 2010 at 11:07pm

It took a while to get an error and get it clear, no kidding, I get this answer of my server provider this morning, they have no solution.

The script thinks that .htacce is a folder/map and he thinks that in that folder stand a file with the name _config.php .

I hope you or someone else can solve this problem.

Maybe this is an extra clue:
http://www.cantores.be/silverstripe/index.php/dev/build?flush=1 = oke URL
http://www.cantores.be/silverstripe/dev/build?flush=1 = 404 Not found

Thank you for your help!

This is the error

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/.htaccess /_config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/COPYING/_ config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/ChangeLog /_config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/INSTALL/_ config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/Makefile/ _config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/UPGRADING /_config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/favicon.i co/_config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/customers/cantores.be/cantores.be/httpd.www/silverstripe/index.php /_config.php) is not within the allowed path(s): (/customers/cantores.be/cantores.be:/var/www/diagnostics:/usr/share/php) in /customers/cantores.be/cantores.be/httpd.www/silverstripe/sapphire/core/ i18n.php on line 1739 

Fatal error: Class 'SortableDataObject' not found in /customers/cantores.be/cantores.be/httpd.www/silverstripe/image_gallery/ _config.php on line 2

Avatar
Funfair77

Community Member, 49 Posts

27 May 2010 at 11:16pm

Does someone have the solution? I don't think I'm the only one with this problem.

Thank You!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 May 2010 at 1:43am

There's something seriously screwed up with your pathing.. look at the files it's looking for:

/customers/cantores.be/cantores.be/httpd.www/silverstripe/.htaccess/_config.php
/customers/cantores.be/cantores.be/httpd.www/silverstripe/COPYING/_ config.php

Those certainly are not valid paths. Are you using a <% base_tag %>?

What is that line of i18n.php trying to do?

Avatar
Funfair77

Community Member, 49 Posts

28 May 2010 at 1:53am

Hi,

Strange,

The only thing I changed was in the htaccess,

RewriteCond %{REQUEST_URI} ^(.*)/$

and

RewriteRule (.+)[^/]

I changed nothing in Silverstripe, and nothing in the module! So I don't know why it not works at this server. An other serevr it works perfect. The cms works perfect, but when I want to use the image_gallery module to install, Nothing, an Error.

This is my htaccess code:

### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /silverstripe

RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) 

RewriteCond %{REQUEST_URI} ^(.*)/$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.+)[^/] sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>

### SILVERSTRIPE END ###

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 May 2010 at 2:25am

Have you looked at what i18n.php is trying to do there?

Go to Top