ZenphotoCMS Forum
A corrupt configuration file was detected. You should remove or repair the file - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: A corrupt configuration file was detected. You should remove or repair the file (/thread-11456.html)



A corrupt configuration file was detected. You should remove or repair the file - bioenergy - 2013-11-05

A corrupt configuration file was detected. You should remove or repair the file and re-run setup.

How to Fix

//////////////////////////////////////////////////////////////////////////////// $conf['special_pages'] = array( 'page'=> array('define'=>'PAGE', 'rewrite'=>'page'), 'search'=> array('define'=>'SEARCH', 'rewrite'=>'page/search'), 'archive'=> array('define'=>'ARCHIVE', 'rewrite'=>'page/archive'), 'tags'=> array('define'=>'TAGS', 'rewrite'=>'page/search/tags'), 'news'=> array('define'=>'NEWS', 'rewrite'=>'news'), 'category'=> array('define'=>'CATEGORY', 'rewrite'=>'news/category'), 'news_archive'=>array('define'=>'_NEWSARCHIVE', 'rewrite'=>'news/archive'), 'pages'=> array('define'=>'PAGES', 'rewrite'=>'pages') ); /////

MY Site :
www.katalogsales.com




A corrupt configuration file was detected. You should remove or repair the file - bioenergy - 2013-11-05

Admin Are you here??
Chould Teach me how to fix the issue on my site???
How TO Re-Run Setup???




A corrupt configuration file was detected. You should remove or repair the file - sbillard - 2013-11-05

http://www.zenphoto.org/news/installation-and-upgrading#re-running-and-re-uploading-setup-files




A corrupt configuration file was detected. You should remove or repair the file - flu - 2013-11-05

Hi,
just log as admin to your website then in the "overview" tab, you have a link to restaure the setup scripts, then go to www.yourwebsite/zp-core/setup.php and re-run setup.
Before all that, make a database backup.

Edit : Sbillard was highly quicker.




A corrupt configuration file was detected. You should remove or repair the file - bioenergy - 2013-11-05

i type :
www.katalogsales.com/zp-core/setup.php

Aslo same Issue Happen.

What File Should I removed What File Should i repair??




A corrupt configuration file was detected. You should remove or repair the file - sbillard - 2013-11-05

you must remove the configuration file: .../zp-data/zenphoto.cfg.php




A corrupt configuration file was detected. You should remove or repair the file - bioenergy - 2013-11-05

Thank Admin Issue Soft




A corrupt configuration file was detected. You should remove or repair the file - Panda - 2014-03-14

Hi, I am having the same issue now. As i open my site, the error message "A corrupt configuration file was detected. You should remove or repair the file and re-run setup."
I have added and I can not get to the screen to re-run.

Your advice would be appreciated.




A corrupt configuration file was detected. You should remove or repair the file - fretzl - 2014-03-14

What did you do exactly ?




A corrupt configuration file was detected. You should remove or repair the file - acrylian - 2014-03-14

Create a new config file manually (template is in zp-core) and review the error log for furhter related errors (permissions especially)




A corrupt configuration file was detected. You should remove or repair the file - Panda - 2014-03-14

thanks for the replies guys,

the problem has been solved! ( I did not & someone else did though :-P)

@fretzi: what I did exactly is that I tried to get to the "overview" page by adding zp-core/setup.php at the end. A blank page appeared and I could not do anything.

@acryllan: A pro has solved the problem :-) and he told me that I have not upgraded to the
latest version of Zenphoto. I will read up this forum more.




A corrupt configuration file was detected. You should remove or repair the file - n20capri2 - 2014-03-28

This keeps happening to my sites as well. I have several ZP installs...Most are the latest version. This isn't happening during an upgrade either...the config file is just randomly coming up corrupt...

I have a copy of all my config files and all I have to do is delete the old and re-upload it and all is well but I can't figure out why it keeps happening. Nothing unusual in the log files either...




A corrupt configuration file was detected. You should remove or repair the file - acrylian - 2014-03-28

I have several sites (with various even older versions - upgrade unwilling site owners, you know them and this never happened to me anywhere yet.

Maybe some changes on the server by the host that affect file/folder permissions or something?

If you look at those corrupt files what do they look like, what actually is corrupt?




A corrupt configuration file was detected. You should remove or repair the file - sbillard - 2014-03-30

I believe this is caused by a hack. You should be sure you are on the 1.4.5.9 release AND that you have protected your setup scripts.