Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Intermittent problems when browsing the admin pages

Intermittent problems when browsing the admin pages 2 months 21 hours ago #111305

  • lenakun
  • lenakun's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
I started them despite the problem... I thought I'd just happen on my admin pages, not to the actual users...

I've just tried a fresh install. It was sucessfull. But when I entered my login and password I got this message:

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/home/u472518717/public_html/cuestionarios/framework) is not within the allowed path(s): (/home/u581810840:/tmp:/var/tmp:/opt/php-5.3/pear) in /home/u472518717/public_html/cuestionarios/index.php on line 93

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(framework/) is not within the allowed path(s): (/home/u581810840:/tmp:/var/tmp:/opt/php-5.3/pear) in /home/u472518717/public_html/cuestionarios/index.php on line 102
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

Then I reloaded the page and I got this:

Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

I reloaded and got that once more. The next time the usual admin page appeared without further errors. I guess it's not the autoinstaller problem, then. It's not that there is a problem with the path, either, because when I reload at a point it solves...

So what now? :dry: :dry:

EDIT: I've been trying ir for 15 minutes. Every now and then, while I'm importing labels and surveys and doing stuff, I get those two messages. Sometimes several times in a row :S
Last Edit: 2 months 21 hours ago by lenakun. Reason: Updated info
The administrator has disabled public write access.

Intermittent problems when browsing the admin pages 2 months 15 hours ago #111307

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6362
  • Thank you received: 827
  • Karma: 245
lenakun wrote:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/home/u472518717/public_html/cuestionarios/framework) is not within the allowed path(s): (/home/u581810840:/tmp:/var/tmp:/opt/php-5.3/pear) in /home/u472518717/public_html/cuestionarios/index.php on line 93
It's clearly an installation/server problem here ... php.net/manual/es/ini.core.php#ini.open-basedir

The limesurvey directory are like this:
./application
./framework
./A lot of directory

In the index, we just need to know where is the framework dir. The framework dir is in the same directory than the index.php file. I think hostinger try to make an autoinstaller where some files are shared betwwen different users. The sahred files are on /home/u472518717 with a symbolic link.

You can look at the limesurvey directory if you have ./framework : if not : the autoinstaller are broken.
If yes : hostinger made error somewhere on the user : you need to contact them with this info.

BUT:
you can install a new limesurvey instance without the auto installer and keep your database.
1) Look at ./application/config/config.php for DB information : you have something like this :
'components' => array(
		'db' => array(
			'connectionString' => 'mysql:host=localhost;port=3306;dbname=thedbnale;',
			'emulatePrepare' => true,
			'username' => 'theuser',
			'password' => 'thepassword',
			'charset' => 'utf8',
			'tablePrefix' => 'prefix_',
		),
2) Keep this information on a paper
3) remove whole files (except ./upload : rename it to ./upload-bak )
4) put whole LimeSurvey officiel release file in the same directory
5) Open yourursl.example.org/limesurvey/
6) when choosing DB : put the information from the paper.

You can do a test on another directory before replace auto-installer files.

Denis
Last Edit: 2 months 15 hours ago by DenisChenu.
The administrator has disabled public write access.

Intermittent problems when browsing the admin pages 2 months 9 hours ago #111321

  • lenakun
  • lenakun's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Hi Denis,
In the index, we just need to know where is the framework dir. The framework dir is in the same directory than the index.php file. I think hostinger try to make an autoinstaller where some files are shared betwwen different users. The sahred files are on /home/u472518717 with a symbolic link.

That's not right, /home/u472518717 is MY directory. In that directory there are all the folders that should be: application, framework, and so on. If not, it would never work. It just gives intermittent errors.
BUT:
you can install a new limesurvey instance without the auto installer and keep your database.

Yes, that's what I did yesterday before my last post. The errors I pasted here are AFTER a fresh installation made by me manually, not by the autoinstaller. I got those errors with the manual installation (I downloaded the limesurvey .zip and followed all the steps in the manual, uploading in binary mode, setting the permissions, etc. As I said, it all went right but I keep getting the errors messages from time to time).

It's some other kind of problem. I doesn't have to do with the installation mode, it happened with the auto-installator and when I did it myself.
The administrator has disabled public write access.

Intermittent problems when browsing the admin pages 2 months 9 hours ago #111322

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6362
  • Thank you received: 827
  • Karma: 245
lenakun wrote:
That's not right, /home/u472518717 is MY directory. In that directory there are all the folders that should be: application, framework, and so on. If not, it would never work. It just gives intermittent errors.
Then you must see with hostinger why /home/u581810840 is in your allowed path and NOT /home/u472518717

Like i say : it's an hoster problem.
The administrator has disabled public write access.
The following user(s) said Thank You: lenakun

Intermittent problems when browsing the admin pages 1 month 3 weeks ago #111373

  • lenakun
  • lenakun's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
It probably is. I think I'll just try and host the surveys in another server and iframe them into a page in my actual server to be able to keep the URL.

Thank you.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.186 seconds
Donation Image