Skip to main content
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
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

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
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
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
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

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

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
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
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

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

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
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,585
1 vote
Accepted

Expresso Store get cart items in PHP

I believe you could use ee()->store->orders->get_cart()->toTagArray()
Eric Lamb's user avatar
  • 1,247
1 vote
Accepted

Allow PHP? not working in Expression Engine 2.11 templates

I have not come across this behaviour myself - when things suddenly appear on otherwise stable systems usually the system itself is not the cause - if you have not changed the site code or the add-on ...
JCOGS Design's user avatar
  • 3,585
1 vote

Use php inside entry-field instead of snippet

It is possible with a bit of messing around you could achieve what you are trying to do by installing the Allow EE Code add-on. This add-on makes it possible to evalute EE template code placed within ...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

Uncaught Error: Class 'PDO' not found when I upgrade to PHP 7.2

Check with your host that your site has the PDO module enabled. This is pretty important as PDO (php Data Object) is an interface that enables php to access MySQL databases. EE relies upon MySQL, ...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

How can I get EE to showing new programatically created entries immediately away after creation?

So it is a partial answer - it seems that the issue is managing the time it takes for EE to respond to the AJAX request. So for now I've fixed this by making the AJAX request synchronous... vis ...
JCOGS Design's user avatar
  • 3,585
1 vote

wygwam error after move of server

This is probably being caused by the new server running a newer version of php: I would start by checking what version the old and new server have. If they are different, you can either try to revert ...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

What's the best way to search for specific terms in files?

I got some feedback from the developer of Stash (Thanks again, Mark!) on this via Twitter, and he advised not to do it this way. So I went back to the drawing board. I ended up having our programmer ...
ByteMyPixel's user avatar
1 vote

Using an IF ELSE statement to find user option & redirect appropriately

Not positive the following will work on 2.4, but try it: With a url mysite.com/news/latest?option=abcd and Mo Variables you should be able to get query string variables within an if/else conditional ...
Romans-8---31-39's user avatar
1 vote
Accepted

How to make EE ignore database table prefix when writing your own queries

You should never use any table in EE without prefix. Its totally not recommended. Now you have only 1 possibility. Instead of using EE (CI) query, use sql. ee()->db->query( "INSERT INTO `...
Mufi - Amici Infotech's user avatar
1 vote
Accepted

how do I get cartthrob order items using only php

There are many ways to go about it, but I find that in many situations, bypassing EE tags in favor of exp:query is much faster for data output. However, in this case, I needed a pure php solution and ...
pixldev's user avatar
  • 589
1 vote

Receiving error code that seems to be locking up the Edit Channel Search function

sounds like a php method or class in the calendar module/extension needs updating. I don't have a calendar module to verify this, but in the past when I've ran into this issue it can usually be fixed ...
pixldev's user avatar
  • 589
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

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,585

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