Hi everyone ! I have set up most of the things i need right now. So before putting in more work, I have two questions:
How do i move the site from localhost to my goDaddy web hosting?
I already have a basic wordpress site. Can gibbon be installed along with it or do i have to buy a new domain? (I checked the admin’s school website, are those two different domains?)
Hi flygye12, good questions : ) Hopefully the following helps:
You’ll need to move all of the files in your installation, as well as your database. There are different ways to do this, but I would tend to use FTP to upload the files from localhost to your server, and then an SQL client to download your database as an SQL file, which can be imported into GoDaddy using their CPanel PHPMyAdmin install (at a guess, but this might vary).
You can put Gibbon into a folder in the domain, such as mydomain.com/gibbon. When you move it, you will need to go into the database table gibbonSetting, and update the entries with the names absoluteURL and absolutePath to match the locations for your new server. Also, you’ll need to update the /config.php file with the values for your new database server.
I have uploaded the files on to domainname/gibbon/gibbon folder using Filezilla. (i had already made a gibbon subdomain from my cpanel and so there is another gibbon folder within the gibbon folder).
It is always asking to overwrite module process.php files.
Do i have to run the installer again?
I am still googling my way regarding “importing database as an SQL file”
absoluteURL absolutePath…i got absolutely lost there… 3.
I could not find answers to these in the forum. I will report if i find it before one of you nice people answer.
Otherwise, as always i’m very thankful in advance.
Hi flygye12, yes, that is my terrible teacher/dad sense of humour at work there ; )
This error should be logged, in your Apache error or access log. That’ll help you find out what is going on.
Before importing, have you managed to export the old database? That would be the first step. If not, what OS are you running? Let me know, and I’ll recommend a good MySQL client to do this with. If you have exported, then the next step is to find the built in MySQL client in GoDaddy CPanel’s (I’d guess it is PHPMyAdmin).
Finding this will also help you with updating the gibbonSetting values.
Hello again. Sounds like you are making progress. The import ought to make a new database for you, but should also work if you make the database and then import into it. Either way, should be fine.
You won’t need to install Gibbon again: Gibbon will detect the presence of config.php in your files, and thus not redirect you to the installer.
Access and error logs vary by OS but in Linux are generally in /var/logs. However, as it seems that you are using shared hosting, the host will not give you direct access. CPanel may give some access, but often you have to contact the hosting support in order to get access.
i had used xampp to install gibbon on my laptop. I have done most of the work on my localhost so i hope everything is working here.
I do feel i am very close and only some odd change i have to make.
Yes I am using shared hosting but i don’t find their support very helpful. Let me try though. Thanks again.
Shared hosting definitely has its limitations, but there should be no reason why you can’t get it to work.
I felt daft asking about the domain, but just wanted to rule it out : )
Let me know what you learn from the error logs.
You will wan to look at the server config part of the “Post Install and Server config” guide, and it is very possible that the error is due to a require PHP extension that your new config does not have.
If you are struggling with server config, we do offer commercial support via support@gibbonedu.com, and would be happy to log into your hosting console and take a look at what we can do. Support is available hourly or via a support contract.
I really want to do this myself for a sense of achievement (and i have time - Corona !!! ). I will reach out to support as a last resort
Meanwhile, I have made no progress. I could not find any error log.
Set permissions of all Gibbon files so they are not publicly writeable (e.g. chmod -Rv 755). -Where do i make these and other changes?
Create folder /uploads and set file permissions for to allow writing by web server (avoid chmod 777 for security reasons). Do i need to do these?
Gibbon will work in general without either of the tweaks you mention above: but, the first is for security, the second to enable file uploads.
Permissions can be set in the Linux command line, but most hosts provide a file manager that can do this.
To learn more, search for “linux file permissions” and you’ll learn about the three different sets who can access a file (user, group, other) and the three permissions for each file (read, write, execute). You’ll see that 755 and 777 are ways to set the three permissions for the three sets.
Linux: the best, most intense to learn OS int he world!
I imported the gibbon.sql file into the new MySql database from the fresh core-19.0 00 folder. Is that okay?
And i am wondering now, did i enter the path okay here?
I have done it ! I have done it !
i deleted the database, made new.
The issue was of permissions. I’ll now try to see if changing permissions to 755 for the old installation also helps I’m ecstatic !!!