PHPBB 3.0.1 website migrating to new hosting service - phpbb

I am trying to find some guidance on where to go next on the issue I am having migrating a phpbb3 site from one hosting service to another.
I have checked to make sure the config.php file has been changed to work on the new server, as well as the common.php file. I am getting a HTTP 500 error when I try to search for the forum. The main site is working normally, just the message board is having a problem.
Nothing about the structure of the sites pages has changed, only the hosting server. (I downloaded a copy of the website before moving it so I have everything in the exact way it was before, just on the new server.)
Do I need to install phpbb onto the server itself with Softaculous?
Anything would help, I need to get the site back up and running soon.
Thanks in advance.
Jacob

This post would have been better addressed on phpBB.com support section...
In any cases most hosting companies out there will perform the migration for you for free.
Did you ask about handling a migration for you?
There are many things that need to be done when migrating to a new hosting.
here a couple of pointers for you:
-PHP version in use should be PHP 5.6.x as phpBB 3.0.x does not support higher PHP versions
-config.php might need updating, for example these two fields:
$dbhost = '';
$dbport = '';
-check your error logs in your cPanel as they will reveal the cause of the 500 error
Also, NO you do not need Softaculous
I'll be happy to help you with this if you PM me on:
https://www.phpbb.com/community/memberlist.php?mode=viewprofile&u=1428301
-SiteSplat

The php version on the new hosting services server was above what phpBB 3.0.x needed. I upgraded phpBB to version 3.2.9 and the issue was resolved.

Related

Importing database (transfer wordpress site db)

I am moving a site from old godaddy hosting to new cpanel godaddy hosting. I have downloaded Wordpress files using ftp, and downloaded sql database file as well. When I go to my new hosting and try and import database I get this error...
x#1062 - Duplicate entry '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xEF\xBF\xBD\xEF\xBF\xBD' for key 'PRIMARY'
What am I doing wrong?
Perhaps this answer is not about your error in particular but I think it can help you.
I humbly recommend you the Duplicator plug-in when moving WordPress sites. This plug-in will create a package for you which contains all your WordPress files and DB. It will also create a php installation file that will help you reinstall everything in very simple steps.
I've never experienced any issues moving WordPress sites with this plugin. Here's the link if you wanna give it a try.
https://wordpress.org/plugins/duplicator/
For the duplicate entry, if you have installed wordpress on the new panel then its because you have an administrator user with id 1 in the old database and in the new database as well that's why its showing duplicate entry.
The right thing for migration of wordress site is that you migrate it with 'All in one wp migration' plugin.
Manually move theme and plugins for time efficiency and export db with 'All in one wp migration' plugin.

Apache won't stop using old project files / refuse to remove old cache

I am using Apache httpd on localhost to connect to the project I'm working on, I have been deleting web cache when website is showing the old project instead of the new one. However recently the project is stuck on an outdated version and restarting/clearing cookies won't work with the user I'm assigned.
I tried using another user with my project and it works just fine. I recently did use svn revert which may have caused my user to get stuck with old project, but I'm not sure that's the problem.
Commands I use to start and stop:
sudo service httpd start
sudo service httpd stop
Any advice or tips are greatly appreciated.
Update: I managed to get the page to update the html, however my JavaScript won't load which I suspect is due to another user being stored and thus not accessing the database I use which leads to nothing being generated.
(Posted on behalf of the OP).
I got everything to "work" again by accident, I made some edits to PHP and my PHP crashed because of a syntax error. When I fixed it back to original stage it was working again. It most likely is related to a user the previous owner created that caused the problem.
Just clear Temporary files
In windows CTRL+R and type %temp% and delete all the files it will help to you

"Cannot locate WordPress root directory," error while updating WordPress or installing any plugins

I am running WordPress on a CentOS server with Apache and Mysql and it was running smoothly a couple of days ago but when I am trying to install any plugin or update WordPress, it gives the error with the exact statement "Unable to locate WordPress root directory".
Any suggestions are welcome because I need to install a few plugins.
This error can be caused by the wrong FTP username being given (not an incorrect password – that would be trapped nicely by wordpress – but the username).
I guess this isn’t something that is going to happen often – moving a server and so changing the FTP username – but I’m glad I thought to read around before spending hours diagnosing the server.
This could be because of the web host you are using. If you are hosting it on a free web host it could be somewhat unstable. If you really want to test wordpress out to see how it would word if it did word correctly, try using WAMP.
http://www.wampserver.com/en/

Joomla admin login problem

I've been having this problem on one of my Joomla sites for a while....when trying to login at the backend, the page just refreshes to the login form again. The same thing happens for the login at the frontend.
After some searching, I came across this link but I've tried all the suggestions there and none work for me. Plus my database tables are all OK. On my local setup, the site works just fine...I just imported the database to the hosting server. Then used SSH to restore the zip file from my computer.
Any ideas?
This time, for me to fix the issue, I had to change a line in the config.php file.
I changed
var $session_handler = 'database';
to
var $session_handler = 'none';
I'm not sure if it makes a difference to this particular task, but I also have a non-standard
var $lifetime = '60';
Thank you very much. Had a tough time before I found this solution, thank you.
We are a small uk Web Design agency, Joomla is our CMS of choice.
I/We've had this problem a few times. Actually, yes this problem does occur most noticably during server migrations.
This time, for me to fix the issue, I had to change a line in the config.php file.
I changed
var $session_handler = 'database';
to
var $session_handler = 'none';
Im not sure if it makes a difference to this particular task, but I also have a non-standard
var $lifetime = '60';
I can remember that last time, I had to empty the session table also (probably jos_session for you , unless you have picked a different prefix)
And this is how Jim fixed it for me, hope it works for you.
I had a problem very similar to this a while back. PHP wasn't able to write to it's session directory (or it didn't exist), so it just kept dropping sessions on login.
You can find this directory in the PHP.ini file. I think it's called session.save_path On Ubuntu it was in /var/lib/php5.
I too, have had this issue in Joomla 2.5 when using SSL. The admin panel will be working fine, and suddenly I could not login.
Turning off SSL (which is not an acceptable fix) worked, but I tried adding
public $cookie_domain = 'yourDomainHere.com';
in configuration.php and it seems to be working correctly for now.
I found this:
session.cookie_secure must be set to 0
add this to you server php.ini
session.cookie_secure = 0
or local php.ini
restart apache
f you are on Joomla 1.7 or 3.4 then here's my research and solution:
The admin doesn't works when you accidently disables the plugins related to user authentication or login.
Joomla 1.7 and 3.4 doesn't have jos_users table, and instead it stores all plugins in jos_extensions table for 1.7 and init_extensions for 3.4
Solution except if you are using a different prefix for your tables
Go to jos_extensions or init_extensions table and look for plugins like plg_authentication_joomla, plg_authentication_ldap, plg_user_joomla, com_login and com_users.
Once you find them then make sure they are enabled in jos_extensions or init_extensions table.
Update the enabled column from '0' to '1' for all above columns (plugins) in jos_extensions table, and make sure you hit the 'Go' button to save the updates to database.
Voila, and you are now back to the login admin form.
The post was helpful to me since it gave me enough pointers to find the exact root cause. However the original solution of this post was for Joomla 1.5 and 1.7 but I had to dig in for Jooma 3.4 and managed to fix my problem.
Thanks everyone for sharing and good luck!

Building a service for a Drupal site to duplicate a node to another Drupal site in a multi-site setup

I'm trying to set up one of my Drupal sites to push a node to another Drupal site in a multi-site configuration. It looks like I need to do this with services somehow, but I can't find any tutorials out there and I need at least to be pointed in the right direction.
What I believe I need is set up Services on the receiving site to accept a call from the sending site which will be sending the node object via Json or serialized PHP using a Key that was set up on the receiving site. Can anyone show me an example of this working or give me some insight?
thanks
have you checked out the deploy module on d.o (drupal.org)? It's a great tool to push changes (also nodes) from one installation to another. It uses the services module for the communication.
I have not tested it with a multisite installation, but I guess it should work if at least the domain names are different for each site.
Regards
Mike