HI i have deployed a project on the www folder of a uniform server installed on a Windows machine.
once i deployed i choose to generate an initial page. when i click on the blue button saying “go to the initial application” it opens the application i have choosen to start with of course but it does not ask anything about configuring the mysql connection and of course the application can not work.
So i tried to open localhost/_lib but as you can see the visualization is weird.
in the left lower part there is an error and the button to submit is not there (see attachment)
Any suggestions?
Thanks
Verify if all the required PHP packages are enabled in php.ini. Also inspect the .htaccess of uniform server as by default all folders are restricted. And some folders require write access.
Hi. the .HTACCESS is this: As you can see it should allow only from localhost but is good form me because i want it to be like this. Where do i get the list of the required PHP packages in order to check in php.ini? I asked many times to scriptcase and they always responded me that Uniform server is good to go without any tweak. what folders require write permissions? Thanks
Server root folder www .htaccess
This file provides server security limiting access to the localhost only.
Comment next four lines to deactivate. (Allows external access)
#------------------------------------------------------------------------------
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
#------------------------------------------------------------------------------
To allow execution of cgi scripts in this directory uncomment next two lines.
#------------------------------------------------------------------------------
AddHandler cgi-script .pl .cgi
Options +ExecCGI +FollowSymLinks
#------------------------------------------------------------------------------
Activate this section to use the Private Server Feature!
Defaults: Username - root; Password - root
Note AuthUserFile: File path is relative to server root
To lock server, uncomment the next 4 lines. (A name and password is required)
#------------------------------------------------------------------------------
#AuthName “Uniform Server - Server Access”
#AuthType Basic
#AuthUserFile …/…/htpasswd/www/.htpasswd
#Require valid-user
i have confronted the php.ini of SC with the one from Uniform server, Now they are alligned but still does not work, can anyone tell me how to verify if the uniform server can write in the _lib folder? is that the one needed? It is like does not save the connection settings
Thanks
Set that lib to 777 to see how it goes. It is badly documented, so you might have to fiddle a bit. If it works then limit files to 755, 644 or whatever you need.
i installed SC in the deployment server and i am using its Apache PHP stack, of course everyting works.
Also set permissions (777…) it is tricky on windows machines.
Eventually i have ditched Uniform. i am tired to go crazy with wamps that do not work with SC.
Many times i have asked to SC and they always reply that every wamp works perfectly with SC which is not true.
Thank you for your time as always