-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OJS] RSS buttons left-over from OJS 2.x #3412
Comments
I took a closer look and that code is actually working for me. Can you check your PHP error log to see what messages correspond to the blank page? |
in log file appears this lines: |
and on the page with display_errors = On in config.php this lines: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/biodiver/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/biodiver/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/biodiver/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/biodiver/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/biodiver/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/biodiver/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php:64) in /home/biodiver/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 59 Warning: Cannot modify header information - headers already sent by (output started at /home/biodiver/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php:64) in /home/biodiver/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 225 Warning: Cannot modify header information - headers already sent by (output started at /home/biodiver/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php:64) in /home/biodiver/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 233 Warning: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/biodiver/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134 Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/biodiver/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134 Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/biodiver/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134 Warning: Declaration of CustomBlockPlugin::getContents(&$templateMgr, $request = NULL) should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/biodiver/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134 Fatal error: Uncaught Error: Call to a member function getAssocId() on null in /home/biodiver/public_html/lib/pkp/classes/notification/PKPNotificationManager.inc.php:56 Stack trace: #0 /home/biodiver/public_html/classes/notification/NotificationManager.inc.php(40): PKPNotificationManager->getNotificationUrl(Object(Request), Object(Notification)) #1 /home/biodiver/public_html/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(435): NotificationManager->getNotificationUrl(Object(Request), Object(Notification)) #2 /home/biodiver/public_html/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(400): PKPNotificationOperationManager->formatNotification(Object(Request), Object(Notification), 'notification/at...') #3 /home/biodiver/public_html/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(102): PKPNotificationOperationManager->formatNotifications(Object(Request), Object(DAOResultFactory), 'notification/at...') #4 /home/biodiver/public_html/lib/pkp/pages/notification/Notific in /home/biodiver/public_html/lib/pkp/classes/notification/PKPNotificationManager.inc.php on line 56 |
The relevant line in the log is...
It looks to me like there's an entry in
|
Yes @asmecher , this is the result: |
@t4x0n, try deleting all those rows and I suspect you'll see the problem go away. |
There was some bad data in your OJS 2.x database; the query identified it, and now you've removed it. Glad to hear it's working now! I've flagged this in #3351 for potential automatic clean-up. |
but this issue appears not only in OJS 2.X updated to 3, in my installation with OJS 3.0 updated to 3.1 is the same issue, just in clean installation on OJS 3.1 this not occur |
Thanks, @t4x0n -- I took another look and found out this can still occur in the current code. Stay tuned for some patches and cleanup code. |
three buttons (RRS 1.0, RSS 2.0 and Atom 1.0) are left-over on notification page:
example:
http://www.biodiversnathist.com/index.php/bnh/notification/
@asmecher we talk this in the forum: https://forum.pkp.sfu.ca/t/issue-with-rss/38268/6
The text was updated successfully, but these errors were encountered: