For old posts/forum, please go here : https://sourceforge.net/p/soplanning/discussion/
Pour l'ancien forum, accédez à cette page : https://sourceforge.net/p/soplanning/discussion/

Error loading soplanning

Post Reply
patrickjoseph
Posts: 4
Joined: Thu Oct 29, 2020 11:58 am

Error loading soplanning

Post by patrickjoseph » Thu Oct 29, 2020 11:59 am

Once I setup Soplanning and when i try to load it in the browser using ip or hostname, I am getting the below error:

I am getting error "please add read/write rights on "../../www/upload/files" directory when i try to launch the website from the browser. I have set 775 permissions on upload and files folder.

What could i be doing wrong?

Update: i redid all the steps, now i get the soplanning setup page but i get this message on screen

"Please give rights on file database.inc (in the root directory of SOPlanning)"
when I try to click Install, I get the same error plus another one..
"Problem while creating the database. Please verify the parameters and user rights in mysql/phpadmin"




OS: CentOS 7

soplanning
Site Admin
Posts: 256
Joined: Thu Aug 31, 2017 3:58 pm

Re: Error loading soplanning

Post by soplanning » Thu Oct 29, 2020 1:59 pm

Hello
About Smarty directory or database.inc, just pu enough rights on the folder/file to let SOPLanning modify it.

About the last problem, it seems the mysql user you gave to SOPlanning in order to access to the DB does not have enough rights.
He needs to be able to create/update tables structure. If you're not sure, please try with root access, it will probably work as expected, and you will modify database.inc file manually just after.

patrickjoseph
Posts: 4
Joined: Thu Oct 29, 2020 11:58 am

Re: Error loading soplanning

Post by patrickjoseph » Fri Oct 30, 2020 1:09 pm

thank you,
i had already tried using root account, same error.
what could i try next?
does the database.inc file exist initially or is it created at the end of the wizard

soplanning
Site Admin
Posts: 256
Joined: Thu Aug 31, 2017 3:58 pm

Re: Error loading soplanning

Post by soplanning » Fri Oct 30, 2020 1:33 pm

database.inc exists intially with default value, and is overwritten with credentials you specify.
If it does not work with root access, it means you have a real issue when accessing to the DB.
It's really difficult to help you in "blind" mode.
Are you sure the mysql url is good (first field in the installer interface) ?
is it a mysql hosted on the same server/computer than the PHP code ?
can you try to create manually the DB "soplanning", and try again (only create the DB, not the tables).

patrickjoseph
Posts: 4
Joined: Thu Oct 29, 2020 11:58 am

Re: Error loading soplanning

Post by patrickjoseph » Fri Oct 30, 2020 1:37 pm

URL is right because when i type in the domain name, it loads the soplanning page
PHP and SQL are all on the same server

I followed the steps in this guide...
https://www.rosehosting.com/blog/how-to ... -centos-7/

Here, it talks (step 5) about creating the database which I did and it was successful.

patrickjoseph
Posts: 4
Joined: Thu Oct 29, 2020 11:58 am

Re: Error loading soplanning

Post by patrickjoseph » Mon Nov 16, 2020 5:05 am

The error about permissions on the folder was due to Selinux permission being Enabled/Active.
Once Selinux was disabled, everything worked.

Post Reply