View Full Version : Missing Menu in Setup Manager
Donna
11-03-2005, 03:44 PM
Having tinkered and prodded the test download to death, I downloaded and installed from scratch in the 'real' directory. All went swimmingly, until I logged into the Setup Manager - no menu, so can't set prefs etc.
Logging out and then back in makes 0 difference.
Obviously I can't get into the Event Manager to see if there's a similar problem as it needs dbase info ...
Neither php nor apache are generating any error msgs so assume all files are being found okay. Tried adding /path/to/calendar to the php_value include_path but made no difference. Any ideas on where I should look?
Brian
11-03-2005, 10:33 PM
Have you tried reloading the files in the Setup directory? (Especially menu.php and possibly index.php).
Donna
11-03-2005, 10:55 PM
Sorry - I don't understand what you mean by 'reloading'.
Re http://my.domain/calendar/setup/index.php, I've tried:
- clearing the cache, closing the browser and restarting
- shift+reload (a million times)
- Opera, Konqueror, Mozilla, Firefox, Lynx don't show the menu
- last-resort-broken-browser IE doesn't either
Re http://my.domain/calendar/setup/menu.php:
I don't think this is meant to be accessed directly.
Anyway, all I get is this: "Invalid Access - 1" at the top of a blank page.
If I look at the source, I can see where menu.php is not being included,
compared to my test install. It's really not there!
Here are the relevant lines for your perusal:
No-menu page:
<td align="center" valign="top" class="smallText" width="150" bgcolor="#F4EECA"></td>
Works-just-fine page:
<td align="center" valign="top" class="smallText" width="150" bgcolor="#F4EECA"><table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#FFFFFF" class="menuBox">
Brian
11-03-2005, 10:57 PM
Sorry, I should have said "uploading" the file again to the server.
Donna
11-03-2005, 11:05 PM
Just unzipped calendar.zip again into a tmp dir and ran diff on ./tmp/calendar/setup/ and my-domain/calendar/setup/.
diff sez all files are the same.
Nevertheless, overwrote all files in my-domain/calendar/setup/ with the contents of ./tmp/calendar/setup/
Made absolutely no difference whatsoever - still no menu.
Brian
11-03-2005, 11:11 PM
Is there a way I can take a shot at FTPing the files up to the server?
Donna
11-03-2005, 11:16 PM
Don't think so - am working on my devel server here at home,
and we are fire-walled to hell and back. Not ecstatic about making holes in it either :(
But I could tar up the whole thing and upload to somewhere if you'd like?
It's pretty small just now as no content yet, am just working on templates.
Brian
11-03-2005, 11:22 PM
What program are you using to unzip?
Donna
11-03-2005, 11:27 PM
unzip --version
UnZip 5.52 of 28 February 2005, by Info-ZIP. Maintained by C. Spieler. Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.
Besides which, this doesn't make any sense.
If I could download and successfully run the trial version, and in fact it still runs just fine, and things only went pear-shaped after downloading the 2nd time and obtaining a license key, then my guess is that something went wrong at that point.
Brian
11-03-2005, 11:35 PM
Are the trial version and the new version you've downloaded the same version number?
Donna
11-03-2005, 11:41 PM
aha! the plot thickens!
find . -name "*.*" | xargs grep "ersion" | less
trial version: ./config.inc.php:$epcCheckVersion="6.3.05";
2nd time: . ./config.inc.php:$epcCheckVersion="";
now why should this be so?
Brian
11-03-2005, 11:47 PM
You've never logged into the Setup Manager (successfully) so that should be blank...
Try adding this to the address after logging in:
index.php?menuSelect=1
Brian
11-03-2005, 11:49 PM
The code to display the menu is:
<table width="100%" border="0" align="center" cellpadding="8" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td align="center" valign="top" class="smallText" width="150" bgcolor="#F4EECA"><?php require("menu.php"); ?></td>
<td align="left" valign="top">
Not sure why it doesn't...
I'm going to be gone for a bit. I'll look at this again in the morning.
Donna
11-03-2005, 11:54 PM
Sorry - adding "?menuSelect=1" made no difference whatsoever.
btw, I've turned off all re-writing rules etc etc
Brian
11-04-2005, 08:39 AM
Can you try copying the files in the setup directory from the other working installation?
Donna
11-04-2005, 11:06 AM
Fixed it. You gave me the clue in your post "The code to display the menu is:"
The problem was that you have a line in your code:
<?php require("menu.php"); ?>
which I couldn't read as it was encoded.
... and I have exactly the same line in mine, but the code only executes on a fn call.
so poor old apache was Doing The Right Thing, finding and delivering 'menu.php' -- except it was the wrong one. And of course nothing was being displayed 'cos there was no fn call ...
I've changed the name of my file to 'springtop-menu.php' and all is well.
There's a moral in here somewhere about closed-source software ....
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.