Intermittent problems when browsing the admin pages

Mehr
3 Jahre 2 Monate her - 3 Jahre 2 Monate her #111242 von lenakun
lenakun erstellte das Thema Intermittent problems when browsing the admin pages
I have installed LimeSurvey on Hostinger via Hostinger's autoinstaller, and I have intermittent issues with the administration pages. When trying to access the authentication page or when I'm working with my survey, making changes and saving and so on, I sometimes get this message:

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

This messagge appears randomly on the operations I do. Most of the time it doesn't, and when it does, if I click the page reload browser button I generally get the right page and my changes are saved. Sometimes it gets two or three reloadings to get it right, though.

Also, sometimes it gives a different message: No input file.

Some other times there are messages related to php functions. In all cases all I have to do is reload the page. It's a bit annoying, but what worries me most is that my survey users have the same problem (and sometimes they do - and since they are not computers experts they are likely to just close the browser... and I don't want to lose participants for my Ph.D research!!!).

Does anybody know how to solve this? It appears to me that there is no real problem with the path or the files since 70% of the time it works correctly.

Thanks a lot!!! :) :) :) :)
Letzte Änderung: 3 Jahre 2 Monate her von lenakun. Begründung: Orthographic errors.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111249 von DenisChenu
DenisChenu antwortete auf das Thema: Intermittent problems when browsing the admin pages

lenakun schrieb: I have installed LimeSurvey on Hostinger via Hostinger's autoinstaller,

I think you must contact Hostinger.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111255 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
Thank you for your quick reply!!

Yes, I did that in the first place, but they told me to contact you since it's not their application. They just get your files and put them in the folder...

Is there anything I can do without depending on them?? I'd like to solve this and I don't want to feel like in The Twelve Tasks of Asterix, being sent from one place to another - that's kind of frustrating...

So if there's something I can do I don't know, a test, or modify a file... That'd be most helpful.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111277 von DenisChenu
DenisChenu antwortete auf das Thema: Intermittent problems when browsing the admin pages
Hi lenakun,

I never see this problem on this forum, and don't have this problem.

We can not know Hostinger hosting service.

Can you :
1 : Ask to Hostinger the apache error log
2 : Export/print in PDF the phpinfo (you can see it in Gloabl setings)

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: lenakun

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111286 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
Thank you so much for your assistance.

I attatch de PhpInfo PDF. As for the apache error log we'll have to wait until Hostinger replies to me.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111291 von holch
holch antwortete auf das Thema: Intermittent problems when browsing the admin pages
I would guess it is a problem on there side (those autoinstallers never just take the files and put them in the folder). There is a installation process involved.

However, installing Limesurvey from scratch has become so easy that I think you could give it a try. I would always try to install a clean Limesurvey. Try it, it is quite easy.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111294 von DenisChenu
DenisChenu antwortete auf das Thema: Intermittent problems when browsing the admin pages
No phpinfo too ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her - 3 Jahre 2 Monate her #111301 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
That's weird. I've attached the file twice. I clicked the Insert button. It took a while to upload it, I saw in the status bar how the uploaded percentage went up. But no file appears on my post after submitting it!! Here it goes again - I hope it works.

Edit: finally, it worked!



Dateianhang:

Dateiname: InfoPHP.pdf
Dateigröße:259 KB
Anhang:
Letzte Änderung: 3 Jahre 2 Monate her von lenakun. Begründung: More info

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111302 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
Yeah, I guess I could try and fresh install it but my surveys are ongoing and with a fresh installation I would have to change the survey link - and I can't do that. Nevertheless, I shall try a fresh install on another folder to check if it works, but I'd need to fix the problem on my current surveys folder...

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111304 von holch
holch antwortete auf das Thema: Intermittent problems when browsing the admin pages
So the problem only occured after a while? Or did you start various surveys despite the problem?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her - 3 Jahre 2 Monate her #111305 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
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
Letzte Änderung: 3 Jahre 2 Monate her von lenakun. Begründung: Updated info

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her - 3 Jahre 2 Monate her #111307 von DenisChenu
DenisChenu antwortete auf das Thema: Intermittent problems when browsing the admin pages

lenakun schrieb: 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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Letzte Änderung: 3 Jahre 2 Monate her von DenisChenu.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111321 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
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.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111322 von DenisChenu
DenisChenu antwortete auf das Thema: Intermittent problems when browsing the admin pages

lenakun schrieb: 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.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: lenakun

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 2 Monate her #111373 von lenakun
lenakun antwortete auf das Thema: Intermittent problems when browsing the admin pages
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.

Bitte Anmelden um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten