Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Abdel Mial Posted May 23, 2016 Posted May 23, 2016 Hello, Sorry for my language, I am French . Since I installed the latest update of IPS , my site gets a 500 error . My last log file : <?php exit; ?> Mon, 23 May 2016 10:56:33 +0000 (Severity: 3) 80.12.55.191 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:56:50 +0000 (Severity: 3) 82.216.226.245 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:56:56 +0000 (Severity: 2) 82.216.226.245 - http://www.jaya-france.fr/notifications/ ErrorException: Declaration of IPS\downloads\_File::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = NULL, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true) should be compatible with IPS\Content\_Item::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) (2) #0 /home/jayafrantt/www/applications/downloads/sources/File/File.php(25): IPS\IPS::errorHandler(2, 'Declaration of ...', '/home/jayafrant...', 25, Array) #1 /home/jayafrantt/www/init.php(275): require_once('/home/jayafrant...') #2 [internal function]: IPS\IPS::autoloader('IPS\\downloads\\F...') #3 /home/jayafrantt/www/applications/core/extensions/core/Notifications/Content.php(211): spl_autoload_call('IPS\\downloads\\F...') #4 /home/jayafrantt/www/system/Notification/Inline.php(239): IPS\core\extensions\core\Notifications\_Content->parse_unapproved_content_bulk(Object(IPS\Notification\Inline)) #5 /home/jayafrantt/www/system/Notification/Table.php(102): IPS\Notification\_Inline->getData() #6 /home/jayafrantt/www/applications/core/modules/front/system/notifications.php(51): IPS\Notification\_Table->getRows() #7 /home/jayafrantt/www/system/Dispatcher/Controller.php(94): IPS\core\modules\front\system\_notifications->manage() #8 /home/jayafrantt/www/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute() #9 /home/jayafrantt/www/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Mon, 23 May 2016 10:56:56 +0000 (Severity: 2) 82.216.226.245 - http://www.jaya-france.fr/notifications/ ErrorException: Declaration of IPS\downloads\_File::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = NULL, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true) should be compatible with IPS\Content\_Item::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) (2) #0 /home/jayafrantt/www/applications/downloads/sources/File/File.php(25): IPS\IPS::errorHandler(2, 'Declaration of ...', '/home/jayafrant...', 25, Array) #1 /home/jayafrantt/www/init.php(275): require_once('/home/jayafrant...') #2 [internal function]: IPS\IPS::autoloader('IPS\\downloads\\F...') #3 /home/jayafrantt/www/applications/core/extensions/core/Notifications/Content.php(211): spl_autoload_call('IPS\\downloads\\F...') #4 /home/jayafrantt/www/system/Notification/Inline.php(239): IPS\core\extensions\core\Notifications\_Content->parse_unapproved_content_bulk(Object(IPS\Notification\Inline)) #5 /home/jayafrantt/www/system/Notification/Table.php(102): IPS\Notification\_Inline->getData() #6 /home/jayafrantt/www/applications/core/modules/front/system/notifications.php(51): IPS\Notification\_Table->getRows() #7 /home/jayafrantt/www/system/Dispatcher/Controller.php(94): IPS\core\modules\front\system\_notifications->manage() #8 /home/jayafrantt/www/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute() #9 /home/jayafrantt/www/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Mon, 23 May 2016 10:57:08 +0000 (Severity: 3) 82.216.226.245 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:57:17 +0000 (Severity: 3) 82.216.226.245 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:57:31 +0000 (Severity: 2) 82.216.226.245 - http://www.jaya-france.fr/notifications/ ErrorException: Declaration of IPS\downloads\_File::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = NULL, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true) should be compatible with IPS\Content\_Item::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) (2) #0 /home/jayafrantt/www/applications/downloads/sources/File/File.php(25): IPS\IPS::errorHandler(2, 'Declaration of ...', '/home/jayafrant...', 25, Array) #1 /home/jayafrantt/www/init.php(275): require_once('/home/jayafrant...') #2 [internal function]: IPS\IPS::autoloader('IPS\\downloads\\F...') #3 /home/jayafrantt/www/applications/core/extensions/core/Notifications/Content.php(211): spl_autoload_call('IPS\\downloads\\F...') #4 /home/jayafrantt/www/system/Notification/Inline.php(239): IPS\core\extensions\core\Notifications\_Content->parse_unapproved_content_bulk(Object(IPS\Notification\Inline)) #5 /home/jayafrantt/www/system/Notification/Table.php(102): IPS\Notification\_Inline->getData() #6 /home/jayafrantt/www/applications/core/modules/front/system/notifications.php(51): IPS\Notification\_Table->getRows() #7 /home/jayafrantt/www/system/Dispatcher/Controller.php(94): IPS\core\modules\front\system\_notifications->manage() #8 /home/jayafrantt/www/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute() #9 /home/jayafrantt/www/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Mon, 23 May 2016 10:57:34 +0000 (Severity: 2) 82.216.226.245 - http://www.jaya-france.fr/index.php?app=core&module=system&controller=notifications&csrfKey=9ccd00d774d83ac6bf4fc87ddab7693e ErrorException: Declaration of IPS\downloads\_File::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = NULL, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true) should be compatible with IPS\Content\_Item::getItemsWithPermission($where = Array, $order = NULL, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, IPS\Member $member = NULL, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = NULL, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) (2) #0 /home/jayafrantt/www/applications/downloads/sources/File/File.php(25): IPS\IPS::errorHandler(2, 'Declaration of ...', '/home/jayafrant...', 25, Array) #1 /home/jayafrantt/www/init.php(275): require_once('/home/jayafrant...') #2 [internal function]: IPS\IPS::autoloader('IPS\\downloads\\F...') #3 /home/jayafrantt/www/applications/core/extensions/core/Notifications/Content.php(211): spl_autoload_call('IPS\\downloads\\F...') #4 /home/jayafrantt/www/system/Notification/Inline.php(239): IPS\core\extensions\core\Notifications\_Content->parse_unapproved_content_bulk(Object(IPS\Notification\Inline)) #5 /home/jayafrantt/www/system/Notification/Table.php(102): IPS\Notification\_Inline->getData() #6 /home/jayafrantt/www/applications/core/modules/front/system/notifications.php(51): IPS\Notification\_Table->getRows() #7 /home/jayafrantt/www/system/Dispatcher/Controller.php(94): IPS\core\modules\front\system\_notifications->manage() #8 /home/jayafrantt/www/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute() #9 /home/jayafrantt/www/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Mon, 23 May 2016 10:57:56 +0000 (Severity: 3) 80.12.55.191 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:14 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:14 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:14 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:14 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:27 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:27 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:27 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:27 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:58:39 +0000 (Severity: 3) 90.52.86.56 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 10:59:37 +0000 (Severity: 3) 80.12.55.191 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 11:00:15 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 11:00:28 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ Mon, 23 May 2016 11:04:23 +0000 (Severity: 3) 80.12.55.191 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ What is the problem?
j4ss Posted May 23, 2016 Posted May 23, 2016 Hello, rename the .htaccess file temporarily and then try to reload the page.
Colonel_mortis Posted May 23, 2016 Posted May 23, 2016 It sounds like the Downloads application is out of date - all of the IPS apps need to be the same version in order for them to work together correctly, but it looks like Downloads is for a version prior to 4.1.7, while core is for a more recent version. If you are unable to change that and don't want do disable/uninstall Downloads, you should edit {site root}/applications/downloads/sources/File/File.php around line 800 to change public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE ) to public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE, $showMovedLinks=FALSE ) (adding , $showMovedLinks=FALSE to the end). The line you need to change is after a big comment: /** * Get items with permisison check * * @param array $where Where clause * @param string $order MySQL ORDER BY clause (NULL to order by date) * @param int|array $limit Limit clause * @param string|NULL $permissionKey A key which has a value in the permission map (either of the container or of this class) matching a column ID in core_permission_index or NULL to ignore permissions * @param mixed $includeHiddenItems Include hidden items? NULL to detect if currently logged in member has permission, -1 to return public content only, TRUE to return unapproved content and FALSE to only return unapproved content the viewing member submitted * @param int $queryFlags Select bitwise flags * @param \IPS\Member $member The member (NULL to use currently logged in member) * @param bool $joinContainer If true, will join container data (set to TRUE if your $where clause depends on this data) * @param bool $joinComments If true, will join comment data (set to TRUE if your $where clause depends on this data) * @param bool $joinReviews If true, will join review data (set to TRUE if your $where clause depends on this data) * @param bool $countOnly If true will return the count * @param array|null $joins Additional arbitrary joins for the query * @param mixed $skipPermission If you are getting records from a specific container, pass the container to reduce the number of permission checks necessary or pass TRUE to skip conatiner-based permission. You must still specify this in the $where clause * @param bool $joinTags If true, will join the tags table * @param bool $joinAuthor If true, will join the members table for the author * @param bool $joinLastCommenter If true, will join the members table for the last commenter * @return \IPS\Patterns\ActiveRecordIterator|int */ public static function getItemsWithPermission( ...
Abdel Mial Posted May 23, 2016 Author Posted May 23, 2016 I made the handling, but my site is still unavailable ... I always error 500
Colonel_mortis Posted May 23, 2016 Posted May 23, 2016 Just now, Abdel Mial said: I made the handling, but my site is still unavailable ... I always error 500 If you applied the fix correctly, there must be another (different) error that is now being generated. Can you post the latest error log (/uploads/logs/latest.php)? Alternatively, submit a ticket, and an IPS technician will look at your site and hopefully fix the errors.
Abdel Mial Posted May 23, 2016 Author Posted May 23, 2016 My last log file : <?php exit; ?> Mon, 23 May 2016 14:00:16 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ I contacted support, they asked me to wait ! So I looking for help everywhere because my community is completely stuck ...
Colonel_mortis Posted May 23, 2016 Posted May 23, 2016 Just now, Abdel Mial said: My last log file : <?php exit; ?> Mon, 23 May 2016 14:00:16 +0000 (Severity: 3) 128.79.59.238 - http://www.jaya-france.fr/forums/ ------------------------------------------------------------------------ I contacted support, they asked me to wait ! So I looking for help everywhere because my community is completely stuck ... That log is really weird - it shouldn't ever be empty. Unfortunately, I think you're going to have to just wait for IPS's support to help you. If they asked you to wait, that probably means that the original level of support couldn't figure out what was wrong, so they escalated you to the next level.
Abdel Mial Posted May 23, 2016 Author Posted May 23, 2016 Thanks a lot for your answer ! I'll wait ^^
Recommended Posts
Archived
This topic is now archived and is closed to further replies.