Open ediblepeachey opened 1 year ago
This I found the config file: pH7-Social-Dating-CMS/_install/data/configs/config.ini
But having issues setting up XAMPP for remotely running on my server. Any thoughts welcome!
I've tried changing the code in the config.ini file to the following:
[database] type_name = mysql type = mysqli hostname = "localhost" username = "root" password = "" name = "ph7cms" prefix = "" charset = "utf8mb4" port = 3306
But then, in my browser, when I enter http://localhost/ph7cms, it goes to http://localhost/ph7cms/_install/ and says: This page isn’t workinglocalhost is currently unable to handle this request. HTTP ERROR 500
This is the original code in the config.ini file:
This is what I've changed it to, matching my pHpMySQL database I've made:
And this is the error I get in my browser
1)install composer in your file project 2)Create a new MySQL database using the phpMyAdmin 3)delet the attribut required="required" line 25 in _install/views/base/config_system.tpl 4)comment the lines 209 / 310/311/312 in _install/controllers/InstallController.php 5)Then it will work for you, but do not enter the password while setting up bcz its not more required
Overview
Hi, I'm trying to run PH7-Social-Dating-CMS remotely on my server using XAMPP.
Question
Does anyone know where the main configuration file is?
More details (past and future planned steps)
I'm looking for the main configuration to define the database connection parameters, such as the database host name, username, password, and database name. database host name, username, password, and database name. That way I hope/think I'll be able to run PH7-Social-Dating-CMS remotely on my server using XAMPP. I'll then enter the database name, username, and password from new MySQLdatabase that I created using the the phpMYAdmin tool, where imported the "ph7cms_db.sql" file that comes with PH7-Social-Dating-CMS into the database.
Instructions I'm following (from ChatGPT!)
Here are the steps you can follow to run PH7-Social-Dating-CMS remotely on your server using XAMPP:
Download and install XAMPP on your server. You can download it from the Apache Friends website.
Extract the PH7-Social-Dating-CMS files to a directory inside the "htdocs" folder of your XAMPP installation directory. For example, you can create a directory called "ph7cms" inside the "htdocs" folder and extract the files there.
Create a new MySQL database using the phpMyAdmin tool that comes with XAMPP. You can access phpMyAdmin by typing "http://localhost/phpmyadmin" in your web browser.
Import the "ph7cms_db.sql" file that comes with PH7-Social-Dating-CMS into the database you just created using the Import tab in phpMyAdmin.
Rename the "config-sample.inc.php" file in the "inc" directory of the PH7-Social-Dating-CMS files to "config.inc.php".
Open the "config.inc.php" file in a text editor and enter the database name, username, and password that you created in step 3.
Save the "config.inc.php" file and close it.
Open your web browser and type "http://localhost/ph7cms" in the address bar.
Follow the on-screen instructions to complete the installation process.