Does a new page load that is totally blank?
Blank page on the same frame (i.e. the page doesn't changed after
clicking)
It's one or the other, not both. :) The page either changes
to something else (including blank) or it stays the same.
Which is it?
It stay in the same frame. (No Change on the page before and after the
cklick)
Did you try turning on $debug to see if that helps give
any hints?
How ?
Last item in config file.
OK , I will do.
Anything here?
In admin_options.php, you
can start printing out debug info to see how far the code
gets before
dying:
echo "hello";
Put that every couple lines until it doesn't get printed out.
No one of them displayed.
Only one at the end of the file before the echo
'</body></html>'; line .
Where did you put the one that is showing up? What line of
that file?
at the end of the file before the echo '</body></html>'; line .
Before/after this line near the top, you should try putting this:
sm_print_r($_POST);
Did you put one at the top of that file? It doesn't show up?
Yes, but didn't show any thing.
Where did you put it? I have a hard time believing this:
- if you put it BEFORE SM_PATH is defined and all the include_once
lines, then you should have PHP errors, and if you didn't report them,
then you are NOT using the debugger plugin, watching your logs, or have
your PHP errors turned up in php.ini. If this is the case, YOU MUST do
one of these things; otherwise no one can help you (and you are wasting
my time)
- If you put it AFTER those lines, it should most certainly show up;
show where you put it and view the source to make sure it's not just
hidden in some other tags or something
You should put one right before and right after the code that "lock out
unauthorized users".
The both before and after "lock out unauthorized users" line are displayed
in the top of the page.
But the line itself is commented.
Also insertion of the echo in some lines gives the following error in the
page.
Parse error: parse error, unexpected T_ELSEIF in
/var/www/html/squirrelmail-1.4.4/plugins/calendar/admin_options.php on line
219
You put some echo statements in the middle of if/else blocks. Move the
echo statements. Try this at the top of the file:
echo "<HR>HELLO? 1<HR>";
// lock out unauthorized users
//
global $username;
$userType = check_cal_user_type($username);
if (!($userType == SM_CAL_SUPERUSER || $userType == SM_CAL_LIMITED_ADMIN))
exit;
echo "<HR>HELLO? 2<HR>";
sm_print_r($_POST);
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users