Hot answers tagged

4 votes
Accepted

PHP 7 Error with ChannelImages: Fatal error: 'continue' not in the 'loop' or 'switch' context in…

Replace the continue with return statement.
Jainil's user avatar
  • 626
4 votes
Accepted

How to download Expression Engine version 3 and 4?

There are at least two ways to get copies of EE 3 and 4. 1) Log in to https://expressionengine.com. If you have any EE purchases from this site before, you can go to your Purchases page and download ...
jrothafer's user avatar
  • 5,900
4 votes
Accepted

Creating Custom Libraries In ExpressionEngine

Have you created all the necessary files for your add-on? I'm not sure EE will look for your library file in an empty add-on folder. You need to make sure you have an addon.setup.php file at least, ...
jrothafer's user avatar
  • 5,900
3 votes

Deployment server feautures

Suggest you contact the hosting provider recommended by EllisLab: https://ellislab.com/community/hosting Also read this whitepaper supplied by them: https://www.nexcess.net/expressionengine/hosting-...
Peter Lewis's user avatar
  • 5,353
3 votes
Accepted

ExpressionEngine on PHP7

Concerning a statement from EllisLab, they posted a blog-entry on 13th April, 2016 telling that EE2 and EE3 are PHP 7-compatible: https://ellislab.com/blog/entry/time-to-upgrade-php
user1013's user avatar
  • 136
2 votes
Accepted

How to trigger P&T Assets to Update Indexes from a template

I got an email back from Andris at P&T with the following: Hey Rowan. Indexing generally refers to a bunch of files - seems to me that you'd be doing that one file at a time. You should ...
Orangeberry's user avatar
2 votes

How do I force a jpeg image to download instead of open in a browser window?

If using HTML5, you just need to add the download attribute
laurent's user avatar
  • 225
2 votes
Accepted

Really need help - Trouble with EE3, Addons, and server settings - ERRORS

Ok, I don't know what was happening, or why the casing was "off", but the issue was due to the following lines inside of EE's View.php service file: /** * Get the full server path to the view file ...
W3bGuy's user avatar
  • 1,610
2 votes
Accepted

Low Variables causes php 7 warnings in ee 3.1

No, there is no roadmap for making LV—or any other Low add-on—compatible with PHP7.
Low's user avatar
  • 11.3k
2 votes

ExpressionEngine on PHP7

I just gave it a shot and it looked like the install worked fine, but the control panel loaded up with a bunch of errors. It looked like they could likely have been suppressed by turning off E_NOTICE ...
Matt Toigo's user avatar
2 votes

Post-Ugrade Problem with 3.3.1

I just ran into this same issue and after a good few hours of debugging, I found the issue was because the member didn't have an entry in the exp_member_data table. Just add a new row to the ...
Alex Rubin's user avatar
2 votes
Accepted

Ee 3 and Php 7 and mamp

Looking it up I found this solution that worked for me: sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock I thought I'd post this in case anyone else runs into this error.
Chris B's user avatar
  • 166
2 votes

What fetch_template() really means?

fetch_template is very important function in ExpressionEngine. When you browse your EE url in the frontend i.e., http://example.com/about-us, it displays the HTML you saved for that template group. ...
Mufi - Amici Infotech's user avatar
2 votes

ExpressionEngine on PHP7

Been running EE3 (3.3.3) with php7, and it runs smooth as a baby's butt. There are a whole lot of problems with add-ons tho I've realised. Solstice TAG throws a nasty error making it impossible to ...
Pontus Madsen's user avatar
2 votes
Accepted

Is it possible to use an extension in a template like a plugin?

You cannot use ext to call in template as plugin. You must have to create mod.easypost_extention.php file for that. Use this code inside that file. <?php if ( ! defined('BASEPATH')) exit('No ...
Mufi - Amici Infotech's user avatar
2 votes
Accepted

How to set adaptive web design in ExpressionEngine

ExpressionEngine was made to be a blank slate, is a design- and content-agnostic CMS. What does this mean? Unlike WordPress and some other CMS, ExpressionEngine adapts to your design rather than ...
Stéphane's user avatar
  • 885
2 votes

Use php inside entry-field instead of snippet

So if you only want a snippet to display on certain entries, you can apply that via a field and small code addition to your template(s). I understand you have a lot of templates and don't want to add ...
jrothafer's user avatar
  • 5,900
2 votes
Accepted

Will EE 3.x work with PHP 5.6+

The short answer is yes. The documentation indicates that the minimum version is 5.3.10 but EE3 will work with php versions up to 7.2 depending upon which EE3 you install: php 7 compatability was ...
JCOGS Design's user avatar
  • 3,587
2 votes
Accepted

Does Expression Engine 3.5+ work with PHP 7.4?

I don't believe the 3.x line supports PHP 7.4. For what it's worth, the upgrade to 6.x is pretty simple from 3.x. It would also put you on a major version that's LTS and as such will be supported ...
Tom Jaeger's user avatar
1 vote

Proper way to add PHP code in Expression engine Template?

Which version of EE are you working with? EE allows use of PHP in templates, but there are security factors to be aware of before you enable it, so you have to enable PHP processing on a per-...
JCOGS Design's user avatar
  • 3,587
1 vote

Expresso Store PHP 7

There's no mention of PHP 7 in Expresso Store's release notes and no specific mention of it in their installation guide, so one would have to take the assumption that they have not specifically tested ...
Tim Malone's user avatar
1 vote

Memory exhausted when uploading images

Your php.ini could be overridden somewhere. Check Tools > Utilities > PHP Info to see if there are any local values that don't match your php.ini If you're on Apache try looking for a ....
Craig Duarte's user avatar
1 vote

How to include an html encode php script in a layout template?

I recommend not allowing PHP execution and using a plugin instead. https://devot-ee.com/add-ons/stringy https://devot-ee.com/add-ons/phpstringfun
Rob Sanchez's user avatar
  • 4,002
1 vote

ExpressionEngine on PHP7

I have run a site locally on PHP 7 without any problems. EE usually only requires a minimal version of PHP. As I've said, no issues so far.
Ingmar's user avatar
  • 506
1 vote
Accepted

Wanting to filter results in EE tags

It's a common function functionality of addons to use parameters, so there's an EE function for that: ee()->TMPL->fetch_param('param_name'); Check out the docs if you need an example and more ...
Ingmar's user avatar
  • 506
1 vote

php template shows code in {}

This has to do with the new template parser introduced in EE 2.9.0. What you're seeing is a template annotation, and it's removed from the template late in the parsing process. Since you're manually ...
Derek Hogue's user avatar
  • 17.4k
1 vote
Accepted

How do I force a jpeg image to download instead of open in a browser window?

This is possible and the solution is quite simple: add the reference to the image in an anchor tag: Medium Add the following code to the .htaccess file: Header set Content-Disposition attachment ...
forrest's user avatar
  • 1,068
1 vote

Looking for print_r or var_dump equiv for channel:entries row

OK, I understand what you're asking, but it doesn't primarily make sense in context to a Channel Entries loop and the EE Template Parsing engine. However, I believe you really are looking for ...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

post PHP multiple checkbox array and send values in email

Please post your <form> tags. First thing, no square brackets belong on this line: $checkList = $this->EE->input->post(['check_list']); It should be $checkList = $this->EE->...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

How can I efficiently output a large channel entries query?

I would do as @Ballonatic says, and use pagination. But if this isn't an option, you can set your PHP Mem limit higher. You can change your php.ini file to reflect this: memory_limit = 64M Replease ...
jrothafer's user avatar
  • 5,900

Only top scored, non community-wiki answers of a minimum length are eligible