Download - An error occurred while downloading the package.


Could someone please advise what I need to do to get a mean full error.

I'm trying to update a site that was on an old servers running an older version of PHP, I need to upgrade it so that it will run under PHP 7.2 on a new servers. The old server no longer exists so as a work around I have it in WAMP on my desktop, running PHP 7.0.33. I have most of the php logging/debugging turned on, I have the Logging/debugging enabled in the Dashboard. I'm not seeing anything useful in the PHP or Apache logs.

Please advise.

Thank you.

View Replies:
ConcreteOwl replied on at Permalink Reply
The error you are seeing is because your wamp server address is not registered on the concrete5 site for your addons.
You need to login to concrete5 and disconnect the assigned addons for your registered site, then you can download them to your PC and manually add them to the 'packages' folder to install them.
When you have completed updating your site and uploaded it to a live server, you should go back to concrete5 and re-assign them to the site.
The same applies to upgrading to a newer version of concrete5, download the Version from concrete5 and put them into your 'updates' folder...
clubbing80s replied on at Permalink Reply
Thank you.

I have it working on WAMP server now, but when I try and move it back to my Linux VPS, I'm getting SQL errors, despite not WAMP and VPS mysql DB's being creates using the SQL dump.

Doctrine \ DBAL \ Exception \ TableNotFoundException
An exception occurred while executing 'SELECT t0.pkgID AS pkgID_1, t0.pkgHandle AS pkgHandle_2, t0.pkgVersion AS pkgVersion_3, t0.pkgIsInstalled AS pkgIsInstalled_4, t0.pkgAvailableVersion AS pkgAvailableVersion_5, t0.pkgDescription AS pkgDescription_6, t0.pkgDateInstalled AS pkgDateInstalled_7, t0.pkgName AS pkgName_8 FROM Packages t0 WHERE t0.pkgIsInstalled = ? ORDER BY t0.pkgID ASC' with params [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'troglodyte-concrete5t4.Packages' doesn't exist

I have confirmed packages are on both servers. I saw someone had a similar issues with MYSQL being case sensative so I added "lower_case_table_names = 2" to the servers config, but this didn't help.

Any ideas what the cause could me ?

Concrete5 version_installed 8.4.5

MYSQL 5.7.26
PHP 7.2.18
Linux VPS :
MYSQL 5.7.27-0ubuntu0.18.04.1
PHP Version 7.2.19-0ubuntu0.18.04.2
ConcreteOwl replied on at Permalink Reply
For Wamp
lower_case_table_names = 2 should be added to the 'my.ini' file directly beneath [mysqld] and will only take effect for databases added after the file has been edited, it will not convert existing table name cases.
So you might find in your database that the 'Packages' table is named 'packages' and this would throw an error...
ConcreteOwl replied on at Permalink Reply
If you DO have a table named 'packages' you can run this sql to rename it
ALTER TABLE packages RENAME TO Packages;