I don't know what happens with my web, marcoscabanas.com, but when you enter you only see this. I was trying something the other day and deleted the file index.php from the root folder. When I saw that the web doen't work withot this I put it again in the root folder, and since then the web is broken. Please someone can help me?
reupload the fresh/clean index.php from your theme folder.
I have the same index.php in my root folder and in my theme folder. It was like that before I deleted it.
nope… compare your files with a clean indexhibit folder.
I have just downloaded the installation kit and uploaded the index.php in the root folder and in my theme folder. Now the message is:
Warning: require_once(defaults.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/11/d274204309/htdocs/index.php on line 23Fatal error: require_once() [function.require]: Failed opening required 'defaults.php' (include_path='.:/usr/lib/php5') in /homepages/11/d274204309/htdocs/index.php on line 23
Also, I can't enter in my indexhibit admin "ERROR 403: ¬°PROHIBIDO!"
Please, I don't really know what happens or what to do...
Check out this thread!
Sounds familiar? No all index.php files are the same...
The index.php in your root folder is different to the one in your theme -
Did you upload the right index.php in the right directory?
I downloaded the installation kit from this web, and then I uploaded the index.php from the ndxz-studio folder in the root folder and in my theme folder.
The thing is that when I deleted the index.php from my root folder the web worked perfectly, but when I uploaded it again (the same file) the web was broken.
:(
Any clue, please? I'm lost!
replace the index.php file that is in the same level as your ndxz-studio (not the one in it)
Done. Now the page is blank.
Oh gosh, this is exasperating...
well you're still missing files and I can't tell which files you're uploading...so if that won't work try a link called "how to reinstall without losing content" in the Useful threads post.
I have deleted the gimgs folder in the files folder (I can't delete de root folders) and now I can't upload a folder in the same place. I'm completely messed up.
Why can't I enter in the indexhibit board? Aaaaaaaaaaaaaaaaaaagggggghhh!!
Please, I'm still stuck with this problem.
I've been thinking in reinstalling the whole indexhibit but I don't know what files I have to delete or how to create a new database. And yes, I have read the thread.
Please help me
Can someone tell me exactly what index.php I have to upload in the root folder and which one to upload in my them folder? It have to be different each other or are different in the root than in my them folder? This was the only thing I did before the web was broken, deleting these 2 files, so the problem must be this..
Pleeeeeeeeeaaaaaaase!!
every index.php is different, so you should upload each local (in your computer) folder's index.php to its corresponding folder online.
if you didn't mess up your local files everything should work, otherwise download a new copy of indexhibit and use those fresh files.
I did that a few days ago when someone told me to upload the new files. I downloaded the installation kit and uploaded the index.php in the folders. Also I was trying in every folder to upload a different index.php each time, but still didn't work any combination.
it seems to me that you messed up those files:
this should be your login, while it's clearly the index.php which should be instead in your root...
be patient and do it again...
;-)
Nothing... doesn't work
Could be the problem the file index.php itself and not the place in where it is??
This is the index.php that goes in the root folder, can anyone hace a look and tell me if there's something wrong in it?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
:
path = '/files/gimgs/'; $(document).ready(function()
{
setTimeout('move_up()', 1);
expandingMenu(0);
expandingMenu(1);
expandingMenu(2);
expandingMenu(3);
});
thank you
How can I show the whole index.php here?
:
path = '/files/gimgs/'; $(document).ready(function()
{
setTimeout('move_up()', 1);
expandingMenu(0);
expandingMenu(1);
expandingMenu(2);
expandingMenu(3);
});
Built with
Here it is my index.php file, can someone look at it and tell me if there's something wrong?
http://www.gigasize.com/get.php?d=t2yy1wfzf3b
Why can't you post only the pertinent part of the code. And, to post code here...you need to use code tags (look left) and no blank lines in the code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'/><title><%title%> : <%obj_name%></title><link rel='stylesheet' href='<%baseurl%><%basename%>/site/<%obj_theme%>/style.css' type='text/css' /><!--[if lte IE 6]><link rel='stylesheet' href='<%baseurl%><%basename%>/site/<%obj_theme%>/ie.css' type='text/css' /><![endif]--><plug:front_lib_css /><plug:front_dyn_css /><script type='text/javascript' src='<%baseurl%><%basename%>/site/js/jquery.js'></script><script type='text/javascript' src='<%baseurl%><%basename%>/site/js/cookie.js'></script><script type='text/javascript' src='<%baseurl%><%basename%>/site/js/expandingMenus.js'></script><plug:front_lib_js /><script type='text/javascript'>path = '<%baseurl%>/files/gimgs/';$(document).ready(function(){setTimeout('move_up()', 1);expandingMenu(0);expandingMenu(1);expandingMenu(2);expandingMenu(3);});</script><plug:front_dyn_js /><plug:backgrounder color='<%color%>', img='<%bgimg%>', tile='<%tiling%>' /><style type="text/css"><!--.Estilo2 {font-style: italic}--></style><script type="text/JavaScript"><!--function MM_swapImgRestore() { //v3.0var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v4.01var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}//--></script></head><body class='section-<%section_id%>'><div id='menu'><div class='container'><%obj_itop%><plug:front_index /><%obj_ibot%><!-- you must provide a link to Indexhibit on your site someplace - thank you --><ul><li><font color="#999999">Built with</font><p><a href='http://www.indexhibit.org/'><em>Indexhibit</em></a></li></ul><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.marcoscabanas.com&layout=button_count&show_faces=false&width=450&height=30&&action=like&font=arial&colorscheme=light" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:450px; height:60px"></iframe></div>    </div>    <div id='content'><div class='container'><!-- text and image --><plug:front_exhibit /><!-- end text and image --></div></div></body></html>
This is my index.php in the root folder.
Vaska, could you please tell me if there's something wrong?
up
Ok, I give up.
Thanks anyway.
Thanks for giving people the time to respond (have some patience - this is a free forum). I see the problem...but you give up...so why should I even try anymore.
People need to be responsible for their own sites - not everything is our (of my) fault when it doesn't go right. And, you have some terribly messed up code in there.
Geez...
I'm giving up trying myself without positive results, not giving up waiting. As I said before, I thank you all the people that wanted to help me. I'm just upset because of a little change I made, I can't solve it.
So if you want to share the solution with me, I will be pleased...
First of all, please read the forum rules.
I'm pretty sure you are using Dreamweaver? Yes?
If so, I believe you have killed your root index.php page by saving the template over it. Reupload the root index.php file and see what happens.
Solving problems...debugging...is a process. I can guess but I can never be sure what is going on with a persons site. Even in my own work I have times when I have to spend alot of time finding random problems. It is not always easy...even if you know what you are doing.
Thanks Vaska.
The only thing I made was delete the index.php from my root folder, I didn't save over ir, just delete. After I saw the web didn't work without this file, I reuploaded it, the same, but didn't work. I know it's the same because I have all the files in a folder in my computer.
Then I was trying with all the index.php I have, also with the index.php files that are in the installation kit, as they said me, without positive results.
And yes, I'm using dreamweaver, but I didn't made any change in the index.php after I deleted it from the root file. I just deleted it, and inmediately, when I saw the web wasn't working, uploaded it again.
The problem is DW...and that you don't really know how or what it is doing. Don't use it. Reupload the file with FTP only. Not DW.
Vaska, I allways upload the files with ftp... I use DW to change the style and the index.php, just to include the facebook button.
The problem is that you have the wrong index.php file at the root. I'm quite certain of it. Even Pindaros in his first post was alluding to this. Honestly, I can't see a way here to help you with this...because it's pretty clear that is where the problem is.
I could be wrong...but I don't think I am. I've seen this happen many times before and it always involved DW.
This is my index.php in the root folder.
Vaska, could you please tell me if there's something wrong?
Yes, it's the wrong file. This is not the root index.php file that shipped with Indexhibit.
I have just uploaded this index.php, the one that goes in the installation kit, and I get now a error 500.
<?php define'SITE' 'Bonjour!'// turn this on if you want to check things//error_reporting(E_ALL);// the basicsif file_exists'ndxz-studio/config/config.php' require_once 'ndxz-studio/config/config.php'require_once 'ndxz-studio/defaults.php'require_once 'ndxz-studio/common.php'// make sure we have our connection arrayshutDownCheck// messy, but seems to work$_REAL_SCRIPT_DIR realpathdirname$_SERVER'SCRIPT_FILENAME'$_REAL_BASE_DIR realpathdirname__FILE__$_MY_PATH_PART substr$_REAL_SCRIPT_DIR strlen$_REAL_BASE_DIR$uri $_MY_PATH_PART     substrdirname$_SERVER'SCRIPT_NAME' 0 strlen$_MY_PATH_PART     dirname$_SERVER'SCRIPT_NAME'// clean up the uri$uri MODREWRITE == false    str_replace'/index.php?' '' $_SERVER'REQUEST_URI'    entry_uri$uri $_SERVER'REQUEST_URI'    // TEMPORARY// what if it's more than one folder up?$uri str_replace$self '' $uri// time to rollload_helpersarray'time'$OBJ load_class'core' TRUE 'lib'// page query$rs $OBJ->db->fetchRecord"SELECT *    FROM "PX"objects, "PXobjects_prefs    WHERE url = '$uri'    AND status = '1'    AND object = obj_ref_typeif $rs    // try again with site root    $rs $OBJ->db->fetchRecord"SELECT *        FROM "PX"objects, "PX"objects_prefs        WHERE url = '/'        AND status = '1'        AND object = obj_ref_type"            // we don't search engines indexing this    header"HTTP/1.1 404 Not Found"
// we need a formal error page
if (!$rs) echo 'Page not found error here.';
}
// autoload 'plugins' folder
include DIRNAME.BASENAME.'/site/plugin/index.php';
// additional variables
// perhaps we should port these differently?
$rs['baseurl'] = BASEURL;
$rs['basename'] = BASENAME;
$rs['basefiles'] = BASEFILES;
$rs['gimgs'] = GIMGS;
// get the front end helper class
$OBJ->lib_class('front');
// time for some action
if ($rs['obj_theme'] == 'eatock')
{
$contents = $OBJ->front->front_eatock();
}
else
{
$filename = DIRNAME . BASENAME . '/site/' . $rs['obj_theme'] . '/index.php';
$fp = @fopen($filename, 'r');
$contents = fread($fp, filesize($filename));
fclose($fp);
}
// makin' stuff happen
$PARSE =& load_class('parse', TRUE, 'lib');
$PARSE->vars = $rs;
$PARSE->code = $contents;
echo $PARSE->parsing();
// do stats if they are wanted
if ($default['statistics'] == TRUE) load_class('statistics', TRUE, 'lib');
exit;
?>
And look at this - there should be a login page and once again there is your page template.
I'm not sure what you are doing but things are clearly out of place.
Reupload all files except the ones at /ndxz-studio/config/ - this has your database connection.
Do not edit with DW. Do not use DW to upload. Until things are running...
All the files? Even my style.css??
I always have edited the files with DW since I have the web and never have a problem. And don't use DW to upload the files. In fact, I didn't know you can upload files with DW.
What if I create a new database in my host server and then upload the indexhibit files,as it was the first time?
Well, you are clearly having problems with DW now - your files are totally messed up. What it does is save files over other files...you don't even know that you are mixing things up.
Yes, this is what I'm saying. If you want to start over with a new database then that is good too.
I'll try it... Last question until I do this. I have taken into account that the index.php files I downloaded from the installation kit don't have the
<!-- you must provide a link to Indexhibit on your site someplace - thank you -->
And I know the first time I uploaded this files into my root folder, it was there.
Is the index.php now different?
In one of my posts above I typed about the "how to reinstall without losing content" in the Useful threads post - did you see that one?
You need to be logged in to post.
