Hi,
Two months ago, I started using SilverStripe and I really enjoyed it.
As I use a shared web hosting and have no root access to the server, I installed it manually (without composer).
The site was running well.
But all of a sudden, after I made some changes in some js and ss files, the site refused to work normally displaying the following message (see below). I tried to undo my last changes but I could never recover from this situation.
Thus I tried to reinstall a backup of the files and the database I have made a few days ago. The message was still here.
Eventually I tried reinstalling a fresh SilverStripe from scratch (3.1.2 then 3.1.3 ) but the message is still here and I cannot access the administration part
The only thing I see is a textual site after the message and a final message telling the site installation was successful.
Here is the message after a fresh install
[Warning] is_readable(): open_basedir restriction in effect. File(/usr/share/php/Zend/Translate/Adapter/I18nRailsYamlAdapter.php) is not within the allowed path(s): (/htdocs:/var/www/zoraldia.com/htdocs:/var/www/zoraldia.com/tmp:/var/www/zoraldia.com/exec_dir:/var/www/zoraldia.com/php-session:/var/lib/lws/:/usr/base/var/lib/lws:/htdocs:/tmp:/exec_dir:/php-session:/usr/share/php)
GET /index.php/home/successfullyinstalled?flush=1&flushtoken=d27d2549b8f3276ba64486bab1d7a486
Line 198 in /htdocs/framework/thirdparty/Zend/Loader.php
Source
189
190 foreach (self::explodeIncludePath() as $path) {
191 if ($path == '.') {
192 if (is_readable($filename)) {
193 return true;
194 }
195 continue;
196 }
197 $file = $path . '/' . $filename;
198 if (is_readable($file)) {
199 return true;
200 }
201 }
202 return false;
203 }
204
Trace
is_readable(/usr/share/php/Zend/Translate/Adapter/I18nRailsYamlAdapter.php)
Loader.php:198
Zend_Loader::isReadable(Zend/Translate/Adapter/I18nRailsYamlAdapter.php)
Translate.php:126
Zend_Translate->setAdapter(Array)
Translate.php:93
Zend_Translate->__construct(Array)
i18n.php:2121
i18n::get_translators()
i18n.php:2026
i18n::_t(SecurityAdmin.NEWGROUP,New Group,,)
Core.php:170
_t(SecurityAdmin.NEWGROUP,New Group)
Group.php:54
Group->populateDefaults()
DataObject.php:429
DataObject->__construct()
ReflectionClass->newInstance()
InjectionCreator.php:20
InjectionCreator->create(Group,Array)
Injector.php:505
Injector->instantiate(Array,Group)
Injector.php:811
Injector->get(Group)
Core.php:158
singleton(Group)
Security.php:909
Security::database_is_ready()
Controller.php:75
Controller->init()
ModelAsController.php:40
ModelAsController->init()
ModelAsController.php:58
ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:366
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:152
Director::direct(home/successfullyinstalled,DataModel)
main.php:189
require_once(/htdocs/framework/main.php)
index.php:66
Then the site appears that way
Nom du site
Votre slogan ici
Accueil
Qui sommes nous ?
Contactez-nous
Installation terminée!
SilverStripe a été installé avec succès. (translation: SilverStripe install successful)
Courrier électronique: jaaf64@zoraldia.com
Mot de passe: ********* (password masqued but correctly displayed)
Vous pouvez commencer à éditer votre site en ouvrant le CMS (translation: you can start editing your site opening the CMS)
Pour des raisons de sécurité vous devriez supprimer maintenant les fichiers d’installation, à moins que vous n’ayez prévu de réinstaller le système ultérieurement (ce qui nécessite de se connecter comme administrateur, voir plus haut). Désormais, votre serveur n’aura besoin de droits de accès en écriture que pour le dossier « assets », vous pouvez donc les révoquer pour tous les autres dossiers. Faites clic ici pour supprimer les fichiers d’installation.
After clicking on the CMS link the message is still here and I can see a textual site like the screen capture presents (attachment) (the three small lights on a blue background are blinking)
I don't know what to do!