Site Migration Issue

Hi,

I am moving my Dolphin site from one server to another.

I followed the migration guide Boonex support sent me: https://www.boonex.com/trac/dolphin/wiki/GenFAQ#Ineedtotransfermysitetoanotherfolderonmyserver.WhatdoIneedtodo

Database transferred fine, files moved via FTP fine, and header.inc.php has been properly adjusted.

Yet my site on the new server, only the front page loads with broken css, and no other link works, not even the admin dashboard. I have my php.ini (php 5.6) to show any potential errors and there is no php errors as far as I can tell.

As a test i installed a fresh Dolphin install and installation went smoothly and the site worked. The site I'm moving is still on the old server and is working fine.

I'm at a loss, any tips would be appreciated!

Quote · 18 Jun 2018

My guess is that .htaccess didn't move across with the FTP. It can be a bit tricky because it's usually a hidden file. As it's the first file in the Dolphin root it's easy to see if it's missing or hidden. Somewhere on your FTP client there will be a setting to show hidden files. make sure it's switched on and move the file across.

My second guess is that there's some other file missing or broken. Do you have PHP error messages included on the very last line of /inc/header.inc.php ?

ini_set("display_errors",1);

Quote · 18 Jun 2018

 

My guess is that .htaccess didn't move across with the FTP. It can be a bit tricky because it's usually a hidden file. As it's the first file in the Dolphin root it's easy to see if it's missing or hidden. Somewhere on your FTP client there will be a setting to show hidden files. make sure it's switched on and move the file across.

My second guess is that there's some other file missing or broken. Do you have PHP error messages included on the very last line of /inc/header.inc.php ?

ini_set("display_errors",1);

 Thanks for the response!

I double checked the .htaccess file transffered fine, and it did , and i do have

ini_set("display_errors",1); in my header.inc.php file. No errors showing.

The url's are off in the new server, http://websiteurlm/articles/home/ instead of http://websiteurl/m/articles/home/ , so that explains why the links arent working, or why the theme isnt loading.

Quote · 19 Jun 2018

The trailing / is missing from the URL in the inc/header.inc.php file.

Geeks, making the world a better place
Quote · 19 Jun 2018

 

The trailing / is missing from the URL in the inc/header.inc.php file.

 
Ha that did it! Thank you! My front page loads fine and I can access the admin dashboard!

But no images are showing and all /m/ links aren't working,

 

eg http://website.com/m/articles/home/ shows the error

 

The requested URL /m/articles/home/ was not found on this server.

but http://website.com/browse.php works fine

modules are showing installed in the dashboard.

Quote · 19 Jun 2018

I fixed it! I'll put this fix in case someone else has the same issue

I went into /etc/apache2/apache2.conf


And changed

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

to

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

and then ran

sudo service apache2 restart

 

Quote · 19 Jun 2018
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.