#1 Re: Developer Help » Warning: Invalid argument supplied for foreach() /admin.php on line 41 » August 11, 2020 9:18am

We're on 4.4.5

Where is the E_ERROR | E_WARNING setting set? I've inherited this project from another developer, and I don't see anything useful if I search for E_ERROR in the code.

ACTUALLY: Found this, which turns it off:
    $bigtree["config"]["debug"] = false;

#2 Developer Help » Warning: Invalid argument supplied for foreach() /admin.php on line 41 » August 10, 2020 11:27am

kdubious
Replies: 3

Getting this warning:
Warning: Invalid argument supplied for foreach() in /home/bliss/public_html/core/inc/bigtree/admin.php on line 4133

Do you guys all typically hide warnings? or should this be fixed?

#5 Developer Help » 403 for ajax in custom extensions / Windows XAMP Dev machine » August 3, 2020 11:07am

kdubious
Replies: 3

We're getting a 403 error trying to hit the following path:   
http://localhost:8084/*/com.umbrella.ecommerce/ajax/store_types/booking/availability/?item_id=34&from=2020-08-01&to=2020-09-01

This same link works in production (But that's on a Linux machine):
http://zzzzzzz.com/*/com.umbrella.ecomm … 2020-09-01

This link works on a dev machine, so it's not just an issue with the *:
http://localhost:8084/admin/*/com.umbrella.ecommerce/ajax/admin/orders/list/
...but this is /admin/*/, not just /*/

We had a similar error with this path:
http://localhost:8080/extensions/com.umbrella.business-directory/css/master/master.css
...and removing MultiViews from the apache options fixed the error with the CSS file. (The folder being named master and the file being named master was creating an issue.)

We have the default HTACCESS and are in HTACCESS routing mode.

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.