Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Missing files? Thirty bees version 1.0.1-beta.2

Featured Replies

Advanced Parameters->Configuration Information | LIST OF CHANGED FILES

Missing files (4)

/publichtml/classes/Discount.php /publichtml/classes/controller/AjaxController.php /publichtml/classes/controller/ModuleAjaxController.php /publichtml/classes/order/OrderDiscount.php

Or not?

On an installation from the Git repository:

sh $ ls classes/Discount.php classes/controller/AjaxController.php classes/controller/ModuleAjaxController.php classes/order/OrderDiscount.php ls: cannot access 'classes/Discount.php': No such file or directory ls: cannot access 'classes/controller/AjaxController.php': No such file or directory ls: cannot access 'classes/controller/ModuleAjaxController.php': No such file or directory ls: cannot access 'classes/order/OrderDiscount.php': No such file or directory Which means: these files aren't expected to exist.

Looking into the repo history one can find this: https://github.com/thirtybees/thirtybees/commit/0335d82603d48d0edd7ad149dbe729f6b69d005c These files were removed on March 12th. Apparently is was forgotten to update the list of expected files.

This is simple: config/json/files.json is out of date. 4 files no longer exist, 221 files have changed. Not exactly a trust building situation :-)

The question arising is: when should this file receive updates?

  1. On every commit?
  2. On every bump of the release version?
  3. When creating a distribution package, creating this file on the fly?

News :-)

  • files.json: while it's tracked in the Git repo, it also gets updated when creating a package.
  • You, @atolodas , apparently run a development installation. Only four files missing. With an installation made from a package it's much worse, 46 files missing :-)
  • Wrote a PHP version of the file generator (currently used is a JavaScript variant) and it turns out, both generators generate the same (except for sorting).
  • Updating files.json in a developer installation gives a perfectly fine validation.

So, what the heck?

The hint for the next step in this adventure game is here: files.json generated in a developer installation is 387 lines. The one generated for a package is 1261 lines. These two versions are expected to be the same.

Going bicycling now and when coming back I'll put these puzzle pieces together.

I created a generator using PHP, I also removed the file from the Git repo, I implemented nice messages for developers, where the file doesn't exist.

0_1492722621838_Fileckeck.png

And of course I triple-check code before providing it to the public.

Is this topic solved? Please mark it as solved then, @atolodas. It's behind these three dots to the right of 'reply' and 'quote'.

P.S.: actually I was wrong about this three-dot hamburger menu. Marking topics as resolved is in 'Topic Tools', rightmost in the series of buttons at the bottom of the first post.

  • Author

Sorry, but I don't have permission to change Topic mark

@Traumflug - The three dots on the right also known as hamburger style (really weird) does not show an option to mark the Post solved. That may only be for administrators. I was able to mark something solved two months ago but not anymore

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.