Re: PHP-8.0 SM shared calendars plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> sudo -u www tail
> /usr/local/www/squirrelmail/plugins/shared_calendars/setup.php
> ...

If that worked then I'd say you can start tracing the execution to see
where it fails.  The easiest thing to do is just insert some output in the
code.  Start with something like:

echo "<h3>Hello world</h3>";

And put that in the setup.php file, in the "cal_menu_link" function, or
whichever you choose to trace.  If that works, move the echo statement
further along into the code path and see where it ends.  If it didn't
work, then the plugin may not be registered at all.  You can open up
functions/page_header.php and search for "menuline" which will be in a
"do_hook" function call and right before that, you can put:

global $squirrelmail_plugin_hooks;
sm_print_r($squirrelmail_plugin_hooks);

Inspect the output of that, looking for the shared_calendars items that
correspond to what it has in its setup.php file.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php




-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux