Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Indexhibit was updated to version 2.1.4 on April 10, 2017.

From Moving Server to Error 404 (not found)

 

Indexhibit version: Legacy
Thread is not resolved.

pcalia
FRANCE
4 year(s) ago
Permalink Post

Hi,
First of all thanks to the indexhibit team for your great work.
I have been using your Template for a long time now, I always tried to manage my installations issues by myself, though I have no knowledge in encoding whatsoever, but this time I am absolutely stuck.

Basically I have tried moving my website from my Freehostia hosting account to my Godaddy one. Now my homepage opens properly but i cannot access any of the portfolios :
philippecalia.com/

------
In order to do this, I have followed this thread :
indexhibit.org/forum/thread/5912/

I first got stuck in the 'import the DB to new server' (2.2) part but godaddy finally did it manually on their end. However they had asked me to export a DB where the < CREATE TABLE options > was unselected. Which is the .sql file they uploaded.

Then unlike what is described in the thread, I was not able to "create a new database user" (2.3) but I just continued and followed the other steps...

I faced some problems during the installation process then and had to add the line : "error_reporting(E_ALL ^ E_DEPRECATED);"
to the index.php / install.php in the ndxz-studio folder, so that I could carry on.

I could then finish the installation, but the website finally opened with the following message :
"Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/content/42/10542442/html/philippecalia/ndxz-studio/defaults.php on line 16"

Which I made disappear by adding
"ini_set('error_reporting', 4096);"
to defaut.php
------

I know this sounds and looks really messy but I really hope I can still use this website ! (especially since everything seems in place in the website editor section :)

Please let me know if I can do anything.

Best,

Philippe

arsondpi
GREECE
4 year(s) ago
Permalink Post

Generally Deprecated errors are because your server is using an updated version of php.
You can either suppress them (like you did) or update to version 2 at some point...

pcalia
FRANCE
4 year(s) ago
Permalink Post

Thanks for your help arsondpi.
Do you think the website will work again if I update to version 2 ? I thought I would just make things more complicated. If it solves the deprecated error + error 404 issues, then I m willing to upgrade right now !

pcalia
FRANCE
4 year(s) ago
Permalink Post

Does someone know if upgrading to version 2 will help ?

arsondpi
GREECE
4 year(s) ago
Permalink Post

Verify with your host which php version is your site running.
Version 2 works with php5.
You can leave things like they are if everything works well.

pcalia
FRANCE
4 year(s) ago
Permalink Post

The php version is 5.3. Can this be the reason for this error (404) ? philippecalia.com/work/post/

The webhost said the problem had to do with encoding, which is why I was asking on the forum.

thanks

arsondpi
GREECE
4 year(s) ago
Permalink Post

Sorry I was confused - initially I thought that deprecated errors was the issue.

When clicking links in your site, it seems that you enabled clean urls.
Is htaccess renamed to .htaccess?
Also did you see this thread: indexhibit.org/forum/thread/18685/
?

pcalia
FRANCE
4 year(s) ago
Permalink Post

Thanks Arsondpi. So I renamed the file .htaccess + I added the two lines mentioned in the thread. The error 404 then became an error 500.
I wrote to godaddy about the issue and here s what they answered :

"I understand that you are writing in about your site resolving to a 500 Internal Server Error when resolving (philippecalia.com/contact/). If you disable the .htaccess file for the site this will disable rules for your site that tell it how to act when resolving /contact. As this is not an actual location on the hosting account you will need to diagnose your .htaccess file and locate the issue causing the errors for the site as opposed to disabling the file. We have enabled error logs for your to review the isolate the issue. "

Now I just checked the error log and here is what I got :

[Wed Aug 28 15:23:05 2013] [10542442] [core:error] [client 92.163.31.200:61941] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

I have no idea what to do now :(

Vaska A
UNITED STATES
4 year(s) ago
Permalink Post

What is the problem here in one sentence please?

pcalia
FRANCE
4 year(s) ago
Permalink Post

I tried to migrate my website from one host to another and I am now getting a 500 internal error message on all my website except the homepage.
philippecalia.com/contact/

Vaska A
UNITED STATES
4 year(s) ago
Permalink Post

You need to update your database config file to the new database: /ndxz-studio/config/config.php

pcalia
FRANCE
4 year(s) ago
Permalink Post

Thanks Vaska. Do you know how I can do this ? Is it possible to do it from PhpMyAdmin ?

arsondpi
GREECE
4 year(s) ago
Permalink Post

Download the config.php life from your server with your ftp application, open and edit it with a code editor, and then re-upload it to your server.

pcalia
FRANCE
4 year(s) ago
Permalink Post

Thanks Arsondpi. But it is already updated with the new database details :

pcalia
FRANCE
4 year(s) ago
Permalink Post

Except if it is the first line which I have to change ?

pcalia
FRANCE
4 year(s) ago
Permalink Post

pcalia
FRANCE
4 year(s) ago
Permalink Post

"

pcalia
FRANCE
4 year(s) ago
Permalink Post

Except if it is the first line which i have to change :
>>>>> ..... (!defined('SITE')) exit('No direct script access allowed');

or the sql part ? otherwise the hostname, username etc. are the ones of the new DB

 

This thread has been closed, thank you.