mecha-cms / start

Installer.
6 stars 0 forks source link

start.php Fatal issue - fail to unzip mecha archive #3

Open punkyard opened 9 hours ago

punkyard commented 9 hours ago

Make sure that your issue is reproducible by doing the following tasks

What installation method did you use?

File

Describe your issue in the field below

Hi I'm trying Mecha for the first time - it seems very interesting and thank you: super light! I'm trying to have it installed on an hosted folder with FTP

After writing something like “my web page goes blank”: “there is a content encoding error message appears in my browser”, I made sure that:

I've put the start.php file in the root, and created a folder for Mecha - second time I let the installer create the folder Both ways return this erreur in my Brave browser:

Fatal error: Uncaught ValueError: Invalid or uninitialized Zip object in /www/start.php:50 Stack trace: #0 /www/start.php(50): ZipArchive->close() #1 /www/start.php(171): pull('https://...', '/www...') #2 {main} thrown in /www/start.php on line 50

I can see a zip file has been downloaded but I can't open it manually either

Could one guide me towards the helpful help file somewhere I didn't see?

Thanks a lot for you concern

Package version

Development version (package on the main branch)

Package version number

start.php uploaded last month! that's all i see

PHP version number

8.2

What browsers are you seeing the problem on?

Chrome

Error logs of the core application if any

No response

Error log of the extension if any

No response

Error log of the layout if any

No response

General error logs if any (if the application fails to set a custom error log path, then the error log will usually appear in this location)

No response

taufik-nurrohman commented 9 hours ago

Somehow it does not close the ZipArchive instance properly. Try uploading the start.php again then comment out line 50:

// $zip->close();

Start the installation again then let me know the new error if any.