We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

ExpressionEngine 3.1.1 Released

News and General

Wes Baker's avatar
Wes Baker
343 posts
9 years ago
Wes Baker's avatar Wes Baker

Only two days after 3.1.0 was released, we’re releasing 3.1.1. We found a few bugs that we couldn’t let stand and squashed them as fast as possible. It’s releases like this that make us really thankful for 3.0’s much-improved updater.

In particular, there were a few PHP errors thrown when creating template groups when saving templates as files, when sometimes submitting a contact form, and when some add-ons would save particular models. With these bugs, you can expect our test coverage to increase in those areas as well to help ensure they never come up again.

As usual, you can download the latest version of ExpressionEngine from your Manage Your Purchases page and read the changelog over in the user guide.

       
Jürgen's avatar
Jürgen
44 posts
9 years ago
Jürgen's avatar Jürgen

MMh,

it seems that there is still something to do….

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
9 years ago
Ingmar Greil's avatar Ingmar Greil

Are you sure that permissions are in order?

       
James Mathias's avatar
James Mathias
225 posts
9 years ago
James Mathias's avatar James Mathias
MMh, it seems that there is still something to do….

This is a bug, we are working on a fix.

In fact if you want you can patch this. In the file “system/ee/installer/updates/ud_3_01_00.php”

Find this line ~235

if ( ! rename($avatar_path.'/'.$filename, $avatar_path.'/default/'.$filename))

And change it to

if (file_exists($avatar_path.'/'.$filename)

Then make sure your config file shows version 3.0.6. Then go back to the updater and let it run from 3.0.6 to 3.1.1 Should fix the problem.

       
Jürgen's avatar
Jürgen
44 posts
9 years ago
Jürgen's avatar Jürgen

Thank you, looks better now.

If have still many more problems directly after upgrading from version 2.0, e.g. calliing “My Profile” ends in:

Attempting to access file outside of directory.

…./system/ee/EllisLab/ExpressionEngine/Service/File/Directory.php:28

or missing Lanuage parts… (see Screenshots)

and Plugins are not running because of missing EXT-Constant:


Notice..

Use of undefined constant EXT - assumed ‘EXT’

user/addons/navee/ft.navee.php, line 22 hide details

Severity: E_NOTICE

Where could I post these errors to?

       
Jeremy S.'s avatar
Jeremy S.
353 posts
9 years ago
Jeremy S.'s avatar Jeremy S.

Since it looks like the issue is with the NavEE third party addon, best best is to check with the developer: https://fromtheoutfit.com/navee

       
Duncan McCall's avatar
Duncan McCall
46 posts
9 years ago
Duncan McCall's avatar Duncan McCall

Just did my first clean install of v3 (3.1.2) with no third-party anything. When I go to the Add On Manager, I get a whole list of errors and warnings starting with:

Error

Argument 1 passed to EllisLab\ExpressionEngine\Service\Addon\Addon::requireFieldtypes() must be an array, boolean given, called in /PATHTOSYSTEM/ee/EllisLab/ExpressionEngine/Service/Addon/Addon.php on line 384 and defined

ee/EllisLab/ExpressionEngine/Service/Addon/Addon.php, line 439

I get a similar list of errors when trying to create a new field in a field group. But it seems to still work.

       
Seth Barber's avatar
Seth Barber
172 posts
9 years ago
Seth Barber's avatar Seth Barber

Bryan,

Looks like a call to glob is returning FALSE, which they note is the return if there is an error. It’s possible that PHP is not able to read a file and/or directory and is thus returning an error. Have you checked the permissions of your addons folder and subfolders?

       
Duncan McCall's avatar
Duncan McCall
46 posts
9 years ago
Duncan McCall's avatar Duncan McCall

Permissions are 755. But thanks for the feedback, maybe it’s a direction.

       
Seth Barber's avatar
Seth Barber
172 posts
9 years ago
Seth Barber's avatar Seth Barber

Bryan,

In system/ee/EllisLab/ExpressionEngine/Service/Addon/Addon.php you can try adding

print_r(error_get_last());

at line 396 (before the requireFieldtypes call). That might give you a clue as to why the error is happening.

       
Duncan McCall's avatar
Duncan McCall
46 posts
9 years ago
Duncan McCall's avatar Duncan McCall

That did not give any error at that point.

       
Seth Barber's avatar
Seth Barber
172 posts
9 years ago
Seth Barber's avatar Seth Barber

Bryan,

In system/ee/EllisLab/ExpressionEngine/Service/Addon/Addon.php try replacing the getFilesMatching() method (arund line 427) with:

protected function getFilesMatching($glob)
{
    return (glob($this->getPath()."/{$glob}")) ?: array();
}

That should resolve the error message you are getting.

       
Derek Jones's avatar
Derek Jones
7,561 posts
9 years ago
Derek Jones's avatar Derek Jones

Bryan, can you also check to see if you have any empty folders on the remote server in either system/ee/EllisLab/Addons or system/user/Addons?

       
Duncan McCall's avatar
Duncan McCall
46 posts
9 years ago
Duncan McCall's avatar Duncan McCall

The code edit fixed the problem.

I did look for empty folders and there were none.

Thanks for your help.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.