Support

Akeeba Backup for WordPress

#21322 Issue with URL

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Thursday, 04 December 2014 17:20 CST

user54502
Hello

Just one question. For some reason each time I reinstall a backup I have some issues with the URL http://agency.joomgeek.com/globalmetal/website/ how can I sovle this ?

Now home is working but can't go to any menu item. :(

nicholas
Akeeba Staff
Manager
"Some issues" is not a particularly enlightening description of the problem you are experiencing. Could you please try to elaborate?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user54502
Hello

Sorry I mean now I have issue with all my menu items. When I click I have a 404

On my previous installations (this time looks fine) all the /name were changed by oldwebiste.com/name

nicholas
Akeeba Staff
Manager
Such a change cannot happen. I suspect that all your menu items were already in the form oldwebiste.com/name. Are you interested in testing the version we are currently working on which should deal with these cases?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user54502
Yes you can send it to [email protected] :)

user54502
But what can be wrong with the menu issue ? agency.joomgeek.com/globalmetal/website/ ?

nicholas
Akeeba Staff
Manager
I suppose the problem has to do with serialised data. Previous versions of Akeeba Backup for WordPress could not handle them – just like every other backup software for WordPress. In the version we are working on we have created a universal solution which can handle plain text AND serialised data for both core WordPress' and third party plugins' tables.

You can download the development build from https://www.akeebabackup.com/download/developer-releases/backupwp-dev.html (the latest release is listed towards the top of the page). Download it, extract the ZIP file and upload its contents inside your wp-content/plugins/akeebabackupwp directory. Then log in to your site's wp-admin and click on the Akeeba Backup icon in the left-hand sidebar. The software will upgrade itself and you can start using it. Please ignore the update messages; the dev releases will always prompt you to "upgrade" to the latest stable version but you DON'T want to do that just yet.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user54502
So I did the new backup and reinstall on a new server. The issue I see is that all /... url are now http://agency.joomgeek.com/globalmetal/websitewp-content/uploads/2013/02/login11.jpg after I made this step http://awesomescreenshot.com/0ee3qscs98

Do you think I should let it empty then ?

nicholas
Akeeba Staff
Manager
In the textbox on your right (the "To" box) please remember to add a trailing slash to the URL. That is to say, the URL should be http://agency.joomgeek.com/globalmetal/website/ with the http:// in front and the / at the end.

Finally, remember to go to your wp-admin after the restoration is complete and edit the Permalinks options. First select a different setting than the one you have now, save, switch back to your regular permalinks setting, save again. This will create a new .htaccess which will allow your permalinks to work in the new location of your site.

IMPORTANT: It is unadvisable to move any site –be it WordPress, Joomla!, Magento, Moodle, ...– from a domain's root to a subdirectory on the same or a different domain. This is a limitation of how relative paths are stored in the database. It's best to use subdomains for test sites.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user54502
Sorry but I'm lost :( as it's an alpha would you like to do it on skype share screen or team viewer ?

So you can straight review what you need ?

nicholas
Akeeba Staff
Manager
No, we can't offer support over any other medium.

Look at your screenshot. There are two big text areas. From (left) and To (right). In your screenshot you have smeared their contents and I can't read them. Does the right box' content end with a slash or not? It's a very simple question. If not, put the slash at the end. That's a very simple instruction. Why would we need to spend 40 minutes on Skype for something that takes you under 20 seconds to check?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user54502
Hello

I've done all the required steps. However I still have 404 when I click on the top menu http://agency.joomgeek.com/globalmetal/website/ I also have the issue when I add a new item to the website

.htaccess is the following

SetEnv PHP_VER 5
SetEnv REGISTER_GLOBALS 0
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
    <IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
        AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
        # DEFLATE by extension
        AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /globalmetal/website/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /globalmetal/website/index.php [L]
</IfModule>

# END WordPress


What can be wrong ? :(

user54502
Hello

So you're actually right. I've reinstalled the website into a root folder and link it to another subdomain.

http://dev.joomgeek.com/comment-investir/ now menu is fine. However if you go on the previous page, you'll see this issue:

Warning: Illegal string offset 'custom_page_theme_template' in /homepages/11/dxxxxxx/htdocs/global/wp-content/plugins/custom-page/custom-page.php on line 345


What can it be and how to fix it ?

nicholas
Akeeba Staff
Manager
That warning comes from a third party plugin. Please note that this is a warning, not an error. Most likely the plugin always throws this warning but your previous host had disabled the output of error messages to the browser OR had set the default error reporting very low (only E_ERROR, or even set to E_NONE).

I'd suggest contacting the author of the third party plugin to see if they can fix the issue in their code. Alternatively you can simply ask your host how you can disable error output to the browser in PHP (set display_errors to 0).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user54502
Ok tks it's solved ! So it looks fine for now Alpha is validated for me :p

nicholas
Akeeba Staff
Manager
Thank you very much for the feedback!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!