Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [php]

PHP is an open source general-purpose server-side scripting language.

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
65 views

Expression Engine: Change the style of a template wrapped in another template

I have a post/posts template wrapped inside a template called blog-posts.html . I would like to have the post/posts template display a different grid column class than how it is displayed when it is ...
user avatar
2 votes
2 answers
200 views

Any concerns running ExpressionEngine on an IIS server?

I want to setup EE on an IIS server what should I be aware of before proceeding? Never having developed a site running on a server using IIS I am hesitant. Based on initial searches I see that I can ...
MagRat's user avatar
  • 121
2 votes
0 answers
41 views

php parse syntax error on cartthrob checkout

On my cartthrob site I can add and remove things to and from the cart just fine but when i go to checkout i get this error Parse error: syntax error, unexpected $end, expecting ':' or '{' in ...
user2972's user avatar
1 vote
1 answer
421 views

Site was working, but this morning there is an error showing. mysqli_connection.php:117

I installed the site with whatever the version was 5 months ago. When I log into the control panel, I get this. I don't know what any of it means and I'm desperate to get my site up and running again. ...
Bruce Stanley's user avatar
1 vote
1 answer
134 views

Custom PHP throwing an error {!-ra:0000

We have a need to pull in data from an external source using PHP. I’ve run into this issue before where EE doesn’t like the PHP formatting i’m using, yet it seems to work elsewhere. For example, if i ...
Chris Brown's user avatar
1 vote
0 answers
94 views

Transfered EE site to cPanel and keep getting errors

Had this site on an ispManager server. Moved it over to cPanel and kept getting errors. Now down to this. Not sure why I can't get the site to pull up and just how to fix these errors. A PHP Error ...
phfeiler's user avatar
1 vote
0 answers
35 views

PHP in Template Forbidden - Can't even save

On EE 2.11.7, I've enabled PHP on a template and set it to output and even a simple echo of some text between PHP opening and closing tags results in a Forbidden error page when I try to save the ...
DanH's user avatar
  • 137
1 vote
0 answers
88 views

Parse template and get content with PHP

I developed an extension for EE2 much earlier for parsing template to send the content to an email address. Now I am porting it for EE3 and facing problem that instead of returning parsed template ...
Bhashkar Yadav's user avatar
1 vote
0 answers
258 views

getting a EE template to function as a php file

Is there a secret to getting a EE template to function as a PHP file? I have a map that is loading the data from a php file. I want to load the data from an EE template instead. I have set the ...
Peter Eastwood's user avatar
1 vote
0 answers
101 views

Low Yearly Archives - EE3

Im trying to use Low Yearly Archives to show a list months with a list to an individual month of articles. I also want to show a list of years excluding the current year so the page will look ...
Kippi's user avatar
  • 295
1 vote
1 answer
60 views

Code-driven way to enable PHP parsing on a template

Still a bit new with EE2, but I'm looking to be able to construct a way we can push changes up in environments, without having to sync up database-level stuff. Right now I have several templates that ...
Austin DeVinney's user avatar
1 vote
0 answers
105 views

How to give site id or site name in Search in Expression Engine(bug in expression engine)

Search functionality is not working for multiple sites i have three website eg. 1)example1.com 2)example2.com 3)example3.com the (2) and (3) no. site is taking data from site (1) but search is ...
Abhay's user avatar
  • 11
1 vote
2 answers
187 views

Expression Engine + FreeForms Pro --> MS Dynamics Integration

At the moment we have a website running on Expression Engine with FreeForms Pro. We hope to integrate the forms in a way that this data exists in our MS Dynamics CRM package. What's the best way to ...
Peter's user avatar
  • 11
1 vote
0 answers
603 views

Highest version of mySQL and PHP for EE 1.7.3

My hosting company needs to upgrade my server to the latest versions of PHP and mySQL. The problem is I'm running a number of EE sites varying between versions 1.6.8 and 1.7.3. So what is the highest ...
Frequency's user avatar
  • 169
1 vote
0 answers
172 views

Exp-resso Store SSL error

My store has worked fine for me for the past several months using Paypal Express, then recently I started getting this error: Fatal error: Uncaught exception 'Guzzle\Http\Exception\CurlException' ...
Blalan's user avatar
  • 33
1 vote
0 answers
139 views

Freeform Pro Plugin Unsupported operand after plugin installation

we are using freeform pro 4.1.3 and are seeing form erorr - [Fatal error: Unsupported operand types in /data/websitesmywebsitedir/html/systemtudor/expressionengine/third_party/freeform/acc.freeform....
grepusername's user avatar
1 vote
0 answers
526 views

How do Install ExpressionEngine on IIS

I've confirmed the server requirements for the windows server and they match or exceed what is recommended. I have uploaded the files to a directory on the server and am trying to run the ...
Mark Dodgson's user avatar
0 votes
0 answers
9 views

EE6 Multi-Site Manager with Nexcess and Non-Traditional File System?

CMS: ExpressionEngine 6 Host: Nexcess Xsmall Plan Tools: Primarily FileZilla, but terminal-based access as needed I'm a new (putting it lightly) dev, working with sites and setups touched by 2-3 ...
SenFen's user avatar
  • 1
0 votes
1 answer
27 views

The requested URL was not found

I have Apache/2.4.48 on Windows + PHP version 8.0.8. When I write www.sitename.com everything is OK - the website is online, but when I clicked on the same link in Facebook, the address become: www....
user13186's user avatar
0 votes
1 answer
42 views

Update expression engine channel entry content

I'm new to expression engine so my question might not sound right to most people. I'm trying to update the content for a channel entry but not sure whether it's possible or not. I checked the channel ...
Afifa's user avatar
  • 1
0 votes
1 answer
27 views

PHP Issue: To execute another ur using PHP function file()

I have a PHP CRON script that use to execute the external url using the code below every 5 minutes: echo file("https://..."); This line of code is not working after i upgrade my server from ...
Lukas Tan's user avatar
0 votes
0 answers
64 views

How to use {exp:query} results in {exp:channel} parameter?

Since i can not retrieve {parents} from grid field, i am trying to find simplest workaround. This works great: {exp:channel:entries channel='channel-one' entry_id=' <?php $...
shbchk's user avatar
  • 11
0 votes
1 answer
36 views

How to use a php hook to pull data into PayPal from Simple Cart

I was wondering how to connect Simple Cart add-on to PayPal using the PHP hooks. I'm new to using hooks, but would appreciate an example to get me going. I would like to display the 'price', 'qty' ...
Graham's user avatar
  • 1
0 votes
1 answer
32 views

Need help upgrading EE along with PHP on my website

I have a website built in ExpressionEngine but my developer is no longer working with freelance clients. I recently received a notice from my hosting company that my website's PHP is out of date and I ...
Elizabeth G's user avatar
0 votes
1 answer
73 views

EE contact form - interact with POST data before sending email

We're running ExpressionEngine 3.5.17 and using the in-built contact form. We have a requirement whereby if someone completes the "From" email address on the form, and it originates from a certain ...
Andy's user avatar
  • 322
0 votes
1 answer
29 views

Unable to pick a few elements after migrating

I have recently cloned my ExpressionEngine CMS (2.3) website to a new VPS with Plesk as its control panel. For cloning, I copied all my files and imported the database from existing website into the ...
vin's user avatar
  • 101
0 votes
1 answer
214 views

A PHP Error was encountered

I am receiving 'A PHP Error was encountered' error messages when signing into expression engine. Nexcess support sent me the following information. What do I do to get this corrected? I am a novice ...
user9179's user avatar
0 votes
1 answer
254 views

Freeform: pass variable to confirmation page

I have a freeform form with a text field with a value. Users of this form are not logged in and I need to pass the value of that field to a second confirmation page where I am building a paypal form. ...
Peter Eastwood's user avatar
0 votes
0 answers
49 views

In EE3 can I query the Model service for template info in my template's PHP?

I want to do something like: $templates = ee( "Model" )->get( "Template" )->all(); //Loop through them foreach( $templates as $template ) ... But when I try this, it hangs the page/server. Is ...
Don Rhummy's user avatar
0 votes
2 answers
30 views

Issues with custom module when moving to live server

I have build a custom module for ExpressionEngine. It works perfectly on my local dev environment, but when I move it to my live server it freaks out and gives me errors, most notably: Invalid ...
Sydcpt's user avatar
  • 13
0 votes
1 answer
53 views

How to send email report of total channel entries in Expression egnine on daily basis

hi I am new to Expression engine I am getting total channel entries using EE Tag :- {exp:stats channel="products" site="default_site"}{total_entries}{/exp:stats} Now I want a email report that gives ...
Abhay's user avatar
  • 11
0 votes
0 answers
566 views

Can't get CodeIgniter Helpers to work in Custom Module

I have very limited experience developing custom modules for ExpressionEngine, but have managed to get an API integrated and working. Now I am trying to input data via a form, using CodeIgniters Form ...
Sydcpt's user avatar
  • 13
0 votes
0 answers
86 views

Load framework outside of folder structure

OK so basically I'd like to load the EE framework and its container outside of an ExpressionEngine path... I know there's been some questions about this, but I haven't found a great answer, and it ...
jrothafer's user avatar
  • 5,900
0 votes
1 answer
170 views

How to synchronize Template in Expression engine

I have three sites working in EE using MSM and I am using subscription addon of http://www.devdemon.com/documentation/subscriptions/#installing-and-updating-subscriptions I have created two templates ...
Abhay's user avatar
  • 11
0 votes
1 answer
47 views

How to change Archive link url in Exrpession Engine

Expression engine archive is showing link in this manner eg. {exp:channel:month_links channel="news" limit="50"} {month}, {year}<br> {/exp:channel:month_links} http://www.example....
Abhaystack's user avatar
0 votes
1 answer
193 views

AJAX Call on ExpressionEngine Install

$(document).ready(function () { $.ajax({ type: "POST", url: "/ajax/customcss", data: {channel: currentChannel}, }) .done(function( data ) { var jsonObj= JSON.parse(data); ...
The Hawk's user avatar
  • 101
0 votes
2 answers
2k views

How can I change URL using .htaccess RewriteRule directives?

I have a URL like http://www.psreducators.com/agent-profile/?u=donald-mark, but I want the users to see the URL as http://www.psreducators.com/agent-profile/donald-mark. (donald-mark is the user ...
Office's user avatar
  • 1
0 votes
2 answers
507 views

Freeform and Dynamic Email Recipients

I have a Freeform form that is a request for information. There are checkboxes in the form for various locations on the site. I want to dynamically send emails based on the checkboxes that are ...
The Hawk's user avatar
  • 101
0 votes
1 answer
562 views

Include Issue Calling an External PHP Script from Expression Engine

I'm trying to call an external PHP script from an Expression Engine form response template that sends emails using Mandrill API. The script I have works on regular PHP, I have tested it, but there is ...
The Hawk's user avatar
  • 101
0 votes
1 answer
56 views

Date range in EE postmaster template

I have a notification setup that is pulling the top 5 most viewed entries within the specific channel, and I want to send this email with the top 5 most viewed entries, and I want to send this ...
Anthony Peruso's user avatar
0 votes
1 answer
70 views

Template Not Detecting Plugin Class?

Working on a plugin integrating with the Active Campaign API. What I have is a folder inside third_party containing pi.ActiveCampaign.php with a lib folder containing the API. The class describing ...
Jack's user avatar
  • 1
0 votes
0 answers
152 views

How to setup php pointing out from webroot?

I have this line in one file that tries to locate the EE system folder. It works just fine if the folder is inside webroot. But in my case, my folder is out from webroot and I'm totally helpless what ...
Riverboy's user avatar
0 votes
1 answer
73 views

Change in output for playa:parents inside Stash when going from PHP 5.3.x – 5.4.x

This template works fine on PHP 5.3.x: {exp:stash:set parse_tags="yes" conditionals="yes"} {stash:st_content} {exp:channel:entries channel="people" url_title="{segment_3}" dynamic="no"...
Tyssen's user avatar
  • 2,048
0 votes
0 answers
47 views

Date set in an entry is outputting 4 hours behind the date set

One of the expressionengine sites I run is having a strange but that I suspect is something to with the recent server move we just did. In an entry the user can set a start/finish time of an event ...
Harry Francis's user avatar
0 votes
1 answer
71 views

Convert a row's site_pages cell (inside exp_sites) into a key-value array

For the purpose of using PHP to automate the creation of custom URLs that will be placed in the Pages Module, I'm first retrieving and decoding the whole block of encoded, serialized data in the ...
Rob Butz's user avatar
  • 173
0 votes
1 answer
123 views

How to capture EE embed output with Stash variable?

I have an EE embed that processes PHP code. I would like to capture that output with a Stash variable. I'm using a model/view approach, ie. have one template to retrieve the data and another to ...
Crafty Cat's user avatar
0 votes
3 answers
55 views

Sorting pictures with matching dates into galleries

I am attempting to build galleries of photos based on {photo_date}, a custom field containing the date on which each photo was taken. My list of photos looks something like this: Photo# {photo_date}...
Victor Paredes's user avatar
0 votes
0 answers
74 views

Search results to display category names

I need to work out how to incorporate category names into the search results url. I found a solution using php (noted below) which adds the relevant category names into the appropriate position in ...
ZEDG's user avatar
  • 55
0 votes
0 answers
224 views

ExpressionEngine control panel links use wrong URL

I'm attempting to set up a staging server for a live EE powered website. I decided to use xampp but I'm having problems getting everything working. On the live website EE's control panel links look ...
benjivm's user avatar
  • 31
0 votes
1 answer
422 views

Getting NSM Live Look PHP errors, even after uninstalling

I've had issues and PHP errors with NSM Live Look. It's been uninstalled and I thought it was fine, but the client has just informed me that when they try to post or edit an item from just one ...
richardpixel's user avatar