Support

Site Restoration

#32916 No access to frontend after restore. Backend OK

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Sunday, 24 May 2020 17:17 CDT

puntino
Hello
for test purposes I cloned an existing site into a subfolder, i.e. domain.ch/subfolder. I had done this various times in the past, without experiencing any problems. Moreover I have transferred various sites from remote servers to local MAMP servers and vice versa. Sometimes I experienced difficulties which I could always handel, following your advises. I also tested all the possible pitfalls in config.php/php.ini/.htaccess. Now I can access the backend, alas not the frontend. Instead it displays a text which I don't understand.

If I set the site offline, when calling the frontend, the login window appears but after entering the credentials, I receive the same strange text. Here it is:

@import url("https://fonts.googleapis.com/css?family=Arimo:700&subset=Latin"); @import url("https://fonts.googleapis.com/css?family=Arimo:400&subset=Latin"); #search-form input::-ms-clear{ width: 0; height: 0; } #search-form input::focus { outline: none; }#offlajn-ajax-search{ width: 250px; float: right;} #offlajn-ajax-search .offlajn-ajax-search-container{ background: #d3d3d3; background: RGBA(211,211,211,0.8); padding: 0px; margin:0; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } #search-form div{ margin:0; padding:0; } #offlajn-ajax-search .offlajn-ajax-search-inner{ width:100%; } #search-form{ margin:0; padding:0; position: relative; width: 100%; } #search-form input{ background-color: #ffffff; /*font chooser*/ padding-top: 1px; color: #4E6170; font-family: "Arimo",Arial; font-weight: bold; font-style: normal; font-size: 12px; text-shadow: #ffffff 1px 1px 0px; text-decoration: none; text-transform: 27px; line-height: left; /*font chooser*/ } #search-form input:focus{ /* background-color: #ffffff; */ } .dj_ie7 #search-form{ padding-bottom:0px; } #search-form .category-chooser{ height: 25px; width: 23px; border: 1px #b2c4d4 solid; /* border-right: none;*/ -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; background-color: #f2f2f2; position: absolute; left: 0px; z-index: 5; } #search-form .category-chooser:hover{ -webkit-transition: background 200ms ease-out; -moz-transition: background 200ms ease-out; -o-transition: background 200ms ease-out; transition: background 200ms ease-out; /* background-color: #ffffff; */ } #search-form .category-chooser.opened{ height:26px; border-bottom: none; -moz-border-radius-bottomleft: 0px; border-bottom-left-radius: 0px; background-color: #ffffff; } #search-form .category-chooser .arrow{ height: 25px; width: 23px; background: url(images/arrow/arrow.png) no-repeat center center; } input#search-area{ display: block; position: relative; height: 27px; padding: 0 39px 0 5px; width: 100%; background-color: transparent; box-sizing: border-box !important; /* css3 rec */ -moz-box-sizing: border-box !important; /* ff2 */ -ms-box-sizing: border-box !important; /* ie8 */ -webkit-box-sizing: border-box !important; /* safari3 */ -khtml-box-sizing: border-box !important; /* konqueror */ border: 1px #b2c4d4 solid; border-right: none; line-height: 27px; -moz-border-radius: 3px; border-radius: 3px; float: left; margin: 0; z-index:4; /*if category chooser enabled*/ padding-left:28px; } .dj_ie #search-area{ line-height: 24px; } .dj_ie7 #search-area{ height: 25px; line-height: 25px; } input#suggestion-area{ display: block; position: absolute; height: 27px; width: 100%; top: 0px; left: 1px; padding: 0 60px 0 5px; box-sizing: border-box !important; /* css3 rec */ -moz-box-sizing: border-box !important; /* ff2 */ -ms-box-sizing: border-box !important; /* ie8 */ -webkit-box-sizing: border-box !important; /* safari3 */ -khtml-box-sizing: border-box !important; /* konqueror */ color:rgba(0, 0, 0, 0.25); border: none; line-height: 27px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.2); -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.2); box-shadow: inset 0px 1px 2px rgba(0,0,0,0.2); float: left; margin: 0; z-index:1; /*if category chooser enabled*/ padding-left:28px; } .dj_chrome input#suggestion-area, .dj_ie input#suggestion-area{ top: 0px; } .dj_ie8 input#suggestion-area{ line-height: 25px; } .search-caption-on{ color: #aaa; } #search-form #search-area-close.search-area-loading{ background: url(images/loaders/fadinglines.gif) no-repeat center center; } #search-form #search-area-close{ background: url(images/close/close_icon.png) no-repeat center center; background-image: url('

Any idea what to do?
Regards
Rolf Winter

nicholas
Akeeba Staff
Manager
This sounds like a processing issue at the server level. Knowing how MAMP works I do have a suggestion. If you rename the .htaccess file to htaccess.bak (and restart Apache in MAMP) can you access the frontend? If so, your problem is something in the .htaccess, most likely an AddHandler or SetHandler line. Delete all such lines before renaming the file back to .htaccess.

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!

puntino
Hi Nicholas

thank you for your reply. It seems, I have created a misunderstanding. The site does NOT run under MAMP, but on the Apache Server of my provider, just in a subfolder of my ordinary installation. I've done this already successfully in the past.
I also already tried your advice with the .htaccess file, alas without success.

nicholas
Akeeba Staff
Manager
Set the Error Reporting to Maximum in Global Configuration. In the frontend, check the source of the broken page. Is there a PHP error that would explain it? Maybe the problem is a PHP version incompatibility between your local and live servers.

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!