Jump to:

10851 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Can't install event_calendar & image_gallery White Page

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 1719 Views
  • Funfair77
    Avatar
    Community Member
    49 Posts

    Can't install event_calendar & image_gallery White Page Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

    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.

  • Funfair77
    Avatar
    Community Member
    49 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

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

  • Funfair77
    Avatar
    Community Member
    49 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

    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

  • Funfair77
    Avatar
    Community Member
    49 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

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

    Thank You!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

    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?

  • Funfair77
    Avatar
    Community Member
    49 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

    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 ###

  • UncleCheese
    Avatar
    4085 Posts

    Re: Can't install event_calendar & image_gallery White Page Link to this post

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

    1719 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.