Any step-by-step installing FOP2 on separate server from *?
-
Sorry but here is the config on config.php:
$DBHOST = 'localhost';
$DBNAME = 'fop2';
$DBUSER = 'root';
$DBPASS = 'mysld root password';
johnny2000Posts: 4
Joined: Sun Feb 16, 2014 7:36 pm -
-
I commented it out and the result is similar:
notice
/var/www/html/fop2/lib/dblib.php (line 390)mysql_close() expects parameter 1 to be resource, boolean given
notice
/var/www/html/fop2/lib/dblib.php (line 80)mysql_query() expects parameter 2 to be resource, boolean given
notice
/var/www/html/fop2/lib/dblib.php (line 80)mysql_query() expects parameter 2 to be resource, boolean given
Phonebooknotice
/var/www/html/fop2/lib/dblib.php (line 390) -
By the way, as you mentioned that the database and tables will be created automatically with this version, so I drop the fop2 database that was created when I tried to install the phonebook manually. So there is no fop2 database in the mysql. I am trying to figure out which line on the config.php where the database is created and the table.
-
-
By the way, as you mentioned that the database and tables will be created automatically with this version, so I drop the fop2 database that was created when I tried to install the phonebook manually. So there is no fop2 database in the mysql. I am trying to figure out which line on the config.php where the database is created and the table.
No, I never mentioned that the DATABASE is created, only the TABLES. So, create the fop2 database again. The phonebook.php script will create the visual_phonebook table if it does not exists.
-
I created the fop2 database, and I did try to connect to fop2 database using the user root and password for root, and no problem connecting to database. I restarted the fop2 service and the error is similar but only 1 line. I commented the
// set_config($DBSETUP);
Below is the result:
notice
/var/www/html/fop2/phonebook.php (line 42)Undefined index: phonebook
You do not have permissions to access this resource.I will try to catch you on the live help, if there is nothing we can do here in the forum. Thanks very much.
-
-
I just check the fop2 database and it is empty, no tables were created.
-
After checking and correcting the credentials, I still get one line of the "notice". But finally I have it working even the seLinux is running. Below are the boolean that I turned on with in seLinux.
setsebool -P telepathy_tcp_connect_generic_network_ports 1
setsebool -P httpd_can_network_connect 1
setsebool -P allow_user_mysql_connect 1
setsebool -P httpd_can_network_connect_db 1After turning it on, everything works. Thanks Nico.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login