not installing

Discuss everything related to ApPHP Survey script.

Moderators: alexandrleonenko, alexmst

geraldmartin
Newbie
Newbie
Posts: 1
Joined: Sep 9th, '15, 20:41

not installing

Postby geraldmartin » Sep 9th, '15, 20:44

I am trying to install on this test domain I have http://wronged.info/
It work to the point where there is a next button and it takes me to this page http://wronged.info/
Is there is file missing in the package?

Thanks
Gerald

administrator
Site Admin
Site Admin
Posts: 6016
Joined: Jan 7th, '09, 23:18
Contact:

Re: not installing

Postby administrator » Sep 11th, '15, 06:27

Please ask your hosting tech. support to turn on "mod_rewrite" on yuor server.

HumbertoUgarte
Newbie
Newbie
Posts: 2
Joined: Apr 13th, '16, 12:05

Re: not installing

Postby HumbertoUgarte » Apr 13th, '16, 12:22

Hi folks, I was trying install but I got a message in second part (Check Requirements) and I cant go on (the installation processs looking for an folder called "setup" that doesnt exist), my installation is on localhost and I checked attrbutes, please help me.
Attachments
SecondStep.jpg
You can read on top the installation looking for an folder called "setup" that doesnt exist
SecondStep.jpg (89.65 KiB) Viewed 3509 times
FirstStep.jpg
FirstStep.jpg (108.62 KiB) Viewed 3510 times

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: not installing

Postby ne_moj » Apr 13th, '16, 16:43

Hello HumbertoUgarte

Check folder (also check access) "protected/modules/setup".
Correct the file "index.php" line:
defined ( 'APPHP_MODE') or define ( 'APPHP_MODE', 'production');
On:
defined ( 'APPHP_MODE') or define ( 'APPHP_MODE', 'debug');

After that you debug line should appear at the bottom, make sure there are no error messages?
Attachments
debug.png
debug line
debug.png (5.74 KiB) Viewed 3504 times

HumbertoUgarte
Newbie
Newbie
Posts: 2
Joined: Apr 13th, '16, 12:05

Re: not installing

Postby HumbertoUgarte » Apr 13th, '16, 18:42

Thanks ne_moj, finally I got it. I hope this information help another persons.
Attachments
mod_rewrite1.jpg
mod_rewrite1.jpg (224.55 KiB) Viewed 3496 times

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: not installing

Postby ne_moj » Apr 14th, '16, 10:25

Thank HumbertoUgarte posted a way to solve this problem :)

juliodiz
Master
Master
Posts: 175
Joined: Mar 18th, '11, 19:50

Re: not installing

Postby juliodiz » Jun 6th, '16, 22:36

Its not working here.

i insert:

RewriteEngine On
RewriteCond /webspot/guest_comment/%{REQUEST_FILENAME} !-f
RewriteCond /webspot/guest_comment/%{REQUEST_FILENAME} !-d
RewriteRule (^/.+) /index.php [R]

Thanks

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: not installing

Postby ne_moj » Jun 7th, '16, 09:35

Hello

Please ask your hosting tech. support to turn on "mod_rewrite" on your server.

fermp3
Newbie
Newbie
Posts: 2
Joined: Dec 18th, '18, 12:24

Re: not installing

Postby fermp3 » Dec 18th, '18, 12:40

Hello everyone,

I´ve just bought the application and I´m having problems while installing this software on my localhost, currently WAMP X64 with typical PHP, Apache and MySQL over Windows 7 x64 SP1, first local environment before going live.

I have modified index.php as ne_moj recommended, leaving inside index.php the following:

defined ( 'APPHP_MODE') or define ( 'APPHP_MODE', 'debug');

Before that my installation process finished suddenly on the last step with an ERROR 500 and ending on the URL: http://localhost/voto/setup/ready

After this change I´m getting this:

! ) Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in C:\wamp64\www\voto\framework\helpers\CHash.php on line 53
( ! ) Error: Call to undefined function mcrypt_create_iv() in C:\wamp64\www\voto\framework\helpers\CHash.php on line 53
Call Stack
# Time Memory Function Location
1 0.0000 409872 {main}( ) ...\index.php:0
2 0.0010 418616 A->run( ) ...\index.php:25
3 0.0010 424600 A->_runApp( ) ...\Apphp.php:296
4 0.0080 520368 CRouter->route( ) ...\Apphp.php:522
5 0.0090 524424 SetupController->readyAction( ) ...\CRouter.php:218
6 0.0280 697440 CHash::salt( ) ...\SetupController.php:385

My localhost meets all requirements, PDO extension, mod_rewrite enabled, etc, all installation checks are ok in green, please I need to test and adapt the surveys before going live.

Here is more info about my current installation, please ask whatever needed info:

Apache/2.4.35 (Win64) PHP/7.2.10
mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
PDO drivers mysql, SQLite
Client API version mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $

Please someone can tell me what´s going wrong with installation procedure and how to solve it?

Thank you very much in advance!

Regards

fermp3
Newbie
Newbie
Posts: 2
Joined: Dec 18th, '18, 12:24

Re: not installing

Postby fermp3 » Dec 19th, '18, 09:45

Replying to myself....

I have found out that PHP version 7.2.10 removes several required functions like mcrypt at least.

I´m trying with a previous version of PHP....


Return to “ApPHP Survey {developers/users}”