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

learn more… | top users | synonyms

0
votes
0answers
7 views

$_POST empty but transferred

I am trying to access PHP's $_POST array from a template, using PHP within the template and have the expiration_date of the entry updated. The $_POST is empty, although the form is submitting to the ...
1
vote
2answers
75 views

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

I really need to get some help on this as I have reached out to EL, The Outfit, DD, etc. All have been helpful and eager to assist, but we can't resolve the issue. I have never run into issues like ...
1
vote
1answer
23 views

Low Variables causes php 7 warnings in ee 3.1

I get some errors when using Low Variables in EE 3.1 with php 7. I don't have the issue when using php 5.6. So I'm using that. But it would be nice to use php 7. Is there any road map for making ...
0
votes
0answers
7 views

PHP in Template - Can't save

So I've never experienced this issue before...enabled PHP for a template and just put something simple in there: <?php echo "test"; ?> That's it. When I click on Update, I get a Forbidden ...
0
votes
0answers
14 views

Playa 4.x and PHP 5.5.x

I had a shared host recently upgrade their servers on me and was wondering if anyone knows how Playa 4.x works on PHP 5.5.x. There seems to be an issue where when a user edits an existing Matrix ...
0
votes
0answers
15 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. ...
1
vote
1answer
13 views

Wanting to filter results in EE tags

Busy developing some custom modules for EE. Everything is going swimmingly, except I can't seem to find any documentation on how to filter results in my modules tags. What I am looking to achieve is ...
0
votes
2answers
15 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 ...
0
votes
1answer
17 views

php template shows code in {}

I use php templates when I need to send notification emails to multiple people. Since upgrading to EE 2.10, I have noticed that when I echo the code, before the code that I am echoing, there is a ...
7
votes
2answers
216 views

ExpressionEngine on PHP7

PHP 7 Release Candidate 7 came out today. Rasmus Lerdorf has been giving talks on the advantages of PHP7 including benchmarking against many popular PHP applications -- for example here's the ...
1
vote
1answer
21 views

Duplicating an entry based on entry_id

I'm having a small issue creating a script that take in an entry_id, and based on that creates a new carbon copy entry with a new entry_id. I've got this working, however as it stands now i'm forced ...
1
vote
1answer
27 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 ...
0
votes
0answers
25 views

Undefined index: protect_javascript in Template.php

When I land on my test website, some of my templates are not loading and I get this message below: Notice Undefined index: protect_javascript ee/legacy/libraries/Template.php, line 2443 hide details ...
0
votes
1answer
18 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 ...
0
votes
0answers
26 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 ...
1
vote
2answers
19 views

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

I have created a PDF generating tool that creates certificates for members, creates a sub-folder within a one of my file upload directories, then places the file into the new directory. I am trying ...
0
votes
0answers
29 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 ...
0
votes
1answer
55 views

loading country code selection javascript file once per site visit

On my website I am displaying a country specific icon for the visitor. I'm doing this by setting a data-country variable in the head of the html document and loading a javascript file that sets the ...
0
votes
1answer
20 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 ...
0
votes
0answers
14 views

Expression engine Search Functionality Bug is not Resolving

hi I am new to Expressionengine,I found a search functionality bug in Expression engine I tried to email this bug to ellislab but their https://support.ellislab.com/bugs/submit bug tracker link is not ...
0
votes
1answer
42 views

How template synchronization works in Expression engine

I want to use template synchronization for subscription addon testing but when i clicked on template synchronization its not showing anything. i have copied two templates to template folder as you can ...
0
votes
1answer
54 views

Which technologies are used in Expression engine

Expression Engine is based on codeignitor framework and codeignitor is developed using core PHP but I want to know which technologies are used by expression engine like it uses angular js,ember js ...
1
vote
0answers
24 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 ...
0
votes
1answer
20 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} ...
0
votes
2answers
22 views

How can we post Same content on each site in Expression engine

1 down vote favorite I am using Expression engine Multiple site management system I have developed three site using this are :- 1)www.exampleone.com 2)www.exampletwo.com 3)www.examplthree.com Now ...
0
votes
1answer
14 views

Issue with PHP reading times in template

I have this PHP code in one template (contact.html): <?php $on = 830; $off = 1730; $now = intval(date("Gi")); echo "<!-- ".$now."-".$on."-".$off." -->"; if($now > $on ...
0
votes
0answers
33 views

form in iframe with phpmailer in root dir

Trying to use a form in an iframe in an EE template. I have two files in a directory in root (directory is called /goldmine): /goldmine/form.html /goldmine/PHPmailer.php Works fine when calling ...
1
vote
1answer
33 views

How can I use http parameters to create a new record in EE

I need to get the parameters from a http post url sent to my site and use the data to create a new entry in Expressionenegine.
0
votes
1answer
28 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); ...
0
votes
2answers
57 views

htaccess file rewrite rules

I have a url like http://www.psreducators.com/agent-profile/?u=donald-mark but I want the user to see a url like http://www.psreducators.com/agent-profile/donald-mark (the donald-mark is a user ...
0
votes
1answer
45 views

Call thirdparty module function directly from PHP in template

I'm in a situation where I need to logout the current logged_in member without him clicking a logout link. (Javascript click trigger is not an option.) I'm using the great freemember module ...
0
votes
2answers
99 views

PHP.ini max_execution_time setting not being honoured by EE

I've being trying to increase the max_execution_time php variable for an EE site (EE 2.6.1, FastCGI on php 5.4.44, running on SiteGround's Managed Cloud hosting with cPanel) but it's not updating the ...
0
votes
3answers
147 views

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

I have a gallery page that lists medium and high resolution images of plants that users can download. However, the default behavior of a jpeg image inside an href is to open in the browser window. For ...
0
votes
1answer
79 views

Looking for print_r or var_dump equiv for channel:entries row

I'm new to expressionengine, and am looking to understand the channel:entries loop better. In the interest of that, I've been looking for something that allows me to print_r or var_dump a ...
0
votes
2answers
1k views

post PHP multiple checkbox array and send values in email

I have a form on my website that sends the captured values of the form to an email address. On my form I have input types of text, and checkbox. But every time I submit the form with checkbox values ...
0
votes
2answers
40 views

How can I efficiently output a large channel entries query?

I need to display a large list of channel entires...between 500 and 800 entries. The list is simply a list of names in alphabetical order. When I run this query, I run out of PHP memory. I've tried to ...
0
votes
2answers
140 views

Use of undefined constant FILEINFO_MIME_TYPE

I'm currently testing a site (EE 2.10.1) and getting a string of the following errors when trying to do anything with image uploads. A PHP Error was encountered Severity: Notice Message: Use of ...
0
votes
1answer
64 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 ...
1
vote
2answers
63 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 ...
0
votes
1answer
96 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 ...
0
votes
1answer
25 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 ...
0
votes
1answer
37 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 ...
2
votes
1answer
29 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 ...
0
votes
2answers
100 views

Simple PHP Substring not Working in Template

This should be straightforward. I just need to take my event summary from the Solspace Calendar plugin and truncate it to say 280 characters. I have PHP set to "Yes", and "Output" parsing stage. It ...
0
votes
1answer
68 views

$_POST to EE template not working as expected

Using this form to post to itself is not working as expected. But why? <form method='POST' action='gen_req'> <input id='input' name='uid' placeholder='uid' /> <button ...
0
votes
1answer
18 views

Adding an action to happen at Login

I am not new to expression engine but the question i have returns no answers in google. I need to: @ the time of successful login - do something outside of expression engine (various external ...
1
vote
2answers
103 views

Fatal Error - Website down!

I have a live site currently down with the message: {!-- ra:00000000638f5ffd00000000469f18aa --} Fatal error: Cannot use object of type stdClass as array in ...
1
vote
1answer
27 views

Correct way of ordering entries by a single month view

I have a calendar. Currently viewable by year. I need to add in a drop down/list of some sort which will show January 2015 February 2015 ... When the user selects from the list I need to show ...
0
votes
1answer
29 views

Define PHP var using a global var

I am trying to get a php snippet working within a template with PHP enabled(output). $uid does contain the {member_id} as expected but the php has not returned the correct result. Update I think ...
0
votes
0answers
49 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 ...