Skip to content

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

@punkyard

Description

@punkyard

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

  • I am using application packages whose source code is not optimized for production (source code is not minified).
  • I have activated the test mode by changing the TEST constant value to true in the .\index.php file.
  • I have made sure that there are files named error or error-x or error-y in the .\engine\log folder.

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'm only using the start.php file that I got from the repo and followed the exact and thanks very clear and helpful documentation here: https://mecha-cms.com/reference/3.x/start#to:using-file
  • I haven't activated the test mode by changing the TEST constant value to true in the .\index.php file. But i chose the "non production" option in the installer page
  • I have made sure that I know what's going on in my hosted folder, and I promise there aren't any files named error or error-x or error-y in the .\engine\log folder. Is it part of the installer process?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions