Posts by rokoys

This page is an archive and was used for testing purposes. Please visit us at woltlab.com to learn more.

    I sent you the login information as requested above to you Alexander Ebert (Conversations)


    What I did to fix the problem was to make a fresh install of 5.2.0 RC1 blog on another domain and copy the Upload.js from ..js/WoltLabSuite/Blog/Ui/CoverPhoto/


    But there must be a source to the problem, so I leave the account that I made open until you had a look at it.

    So, I decided to be smart and remove the blog app, caused this :/



    System Information

    • PHP Version:

      7.3.12

    • WoltLab Suite Core:

      5.2.0 RC 1

    • Peak Memory Usage:

      2.681/512 MiB

    • Request URI:

      /community/acp/index.php?uninstall-package/&t=91af6ef917e5464eb3673209de8b109f69e8a3ff

    • User Agent:

      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0



    Original Error

    • Error Type:

      PDOException

    • Error Message:

      SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails

    • Error Code:

      23000

    • File:

      */lib/system/database/statement/PreparedStatement.class.php (93)

    • Stack Trace:

      • #0 */lib/system/database/statement/PreparedStatement.class.php (93):
      • PDOStatement->execute([ ])
      • #1 */lib/system/database/editor/MySQLDatabaseEditor.class.php (240):
      • wcf\system\database\statement\PreparedStatement->execute()
      • #2 */lib/system/package/plugin/SQLPackageInstallationPlugin.class.php (109):
      • wcf\system\database\editor\MySQLDatabaseEditor->dropTable('blog1_blog')
      • #3 */lib/system/package/PackageUninstallationDispatcher.class.php (118):
      • wcf\system\package\plugin\SQLPackageInstallationPlugin->uninstall()
      • #4 */lib/system/package/PackageUninstallationDispatcher.class.php (74):
      • wcf\system\package\PackageUninstallationDispatcher->executePIP([ pluginName => , className => ])
      • #5 */lib/acp/action/UninstallPackageAction.class.php (110):
      • wcf\system\package\PackageUninstallationDispatcher->uninstall('9948632a')
      • #6 */lib/action/AbstractDialogAction.class.php (68):
      • wcf\acp\action\UninstallPackageAction->stepUninstall()
      • #7 */lib/action/AbstractAction.class.php (47):
      • wcf\action\AbstractDialogAction->execute()
      • #8 */lib/system/request/Request.class.php (83):
      • wcf\action\AbstractAction->__run()
      • #9 */lib/system/request/RequestHandler.class.php (107):
      • wcf\system\request\Request->execute()
      • #10 */acp/index.php (9):
      • wcf\system\request\RequestHandler->handle('wcf', true)


    Final Error

    • Error Type:

      wcf\system\database\exception\DatabaseQueryExecutionException

    • Error Message:

      Could not execute statement 'DROP TABLE IF EXISTS `blog1_blog`'

    • Error Code:

      23000

    • File:

      */lib/system/database/statement/PreparedStatement.class.php (105)

    • Stack Trace:

      • #0 */lib/system/database/editor/MySQLDatabaseEditor.class.php (240):
      • wcf\system\database\statement\PreparedStatement->execute()
      • #1 */lib/system/package/plugin/SQLPackageInstallationPlugin.class.php (109):
      • wcf\system\database\editor\MySQLDatabaseEditor->dropTable('blog1_blog')
      • #2 */lib/system/package/PackageUninstallationDispatcher.class.php (118):
      • wcf\system\package\plugin\SQLPackageInstallationPlugin->uninstall()
      • #3 */lib/system/package/PackageUninstallationDispatcher.class.php (74):
      • wcf\system\package\PackageUninstallationDispatcher->executePIP([ pluginName => , className => ])
      • #4 */lib/acp/action/UninstallPackageAction.class.php (110):
      • wcf\system\package\PackageUninstallationDispatcher->uninstall('9948632a')
      • #5 */lib/action/AbstractDialogAction.class.php (68):
      • wcf\acp\action\UninstallPackageAction->stepUninstall()
      • #6 */lib/action/AbstractAction.class.php (47):
      • wcf\action\AbstractDialogAction->execute()
      • #7 */lib/system/request/Request.class.php (83):
      • wcf\action\AbstractAction->__run()
      • #8 */lib/system/request/RequestHandler.class.php (107):
      • wcf\system\request\Request->execute()
      • #9 */acp/index.php (9):
      • wcf\system\request\RequestHandler->handle('wcf', true)

    Hello Alexander Ebert


    I can create an account for you tomorrow.


    But maybe this can help? From the Web Console in Firefox:


    Error: Load failed: WoltLabSuite/Blog/Ui/CoverPhoto/Upload: ../community/js/WoltLabSuite/Blog/Ui/CoverPhoto/Upload.js?t=1576267325


    The folder Blog/Ui/CoverPhoto and the file Upload.js doesn't exist on the server.

    After upgrading from 3.1 to 5.2.0 RC1 some article images don't display (just a white image), teaser image is ok. When I right click the image and choose "View image" I get an fatal error. It seems to be only old articles, or articles with old attachments as article image. If I edit the article, the preview of article image is working.

    This is the message I get.


    System Information

    • PHP Version:

      7.3.12

    • WoltLab Suite Core:

      5.2.0 RC 1

    • Peak Memory Usage:

      2.444/512 MiB

    • Request URI:

      /community/index.php?media/1988-5c793fbe0c37900df930aff025c2f612298a7faa-jpg/

    • Referrer:

    • User Agent:

      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0


    Original Error

    • Error Type:

      PDOException

    • Error Message:

      SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lastDownloadTime' in 'field list'

    • Error Code:

      42

    • File:

      */lib/system/database/Database.class.php (271)

    Final Error

    • Error Type:

      wcf\system\database\exception\DatabaseQueryException

    • Error Message:

      Could not prepare statement 'UPDATE wcf1_media SET downloads = ?, lastDownloadTime = ? WHERE mediaID = ?'

    • Error Code:

      42

    • File:

      */lib/system/database/Database.class.php (276)