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

learn more… | top users | synonyms

0
votes
0answers
10 views

expressionengine (expresso): How to implemwnt Web Hooks [duplicate]

Hi I am really new to expressionengine and I'm currently using a module for store called expresso. Now I want to use their webhooks to update some functionalities before adding item to cart. Now, my ...
0
votes
1answer
35 views

Proper way to add PHP code in Expression engine Template?

I am new in Expression engine. I know that We can not write PHP code in template due to security reason. I want to know the flow like from where can write php code and how it will render in my ...
0
votes
0answers
4 views

Post-Ugrade Problem with 3.3.1

Fatal error: Call to a member function getId() on null in ~/system/ee/legacy/libraries/Session.php on line 398 The $member object (re: $member = ee('Model')->get('Member', $member_id)->first();) is ...
0
votes
0answers
15 views

Parsing entries using custom field in session storage

Hey There friends of the forums, First time posting, so please forgive any miss conduct. I am trying to develop search functionality for my web page based on json results returned from an API ...
0
votes
1answer
17 views

Ee 3 and Php 7 and mamp

I switched my local install over to php 7 and when I tried to navigate to my ee install it threw a mysqli_connection.php error, that said this: SQLSTATE[HY000] [2002] No such file or directory It ...
0
votes
0answers
10 views

Php Error - for Entry Creation

I keep getting this error everytime I want to update an entry. This entry already has a built in map service and it's not functioning properly. I'm using PHP version 5.4 Can you help?
0
votes
0answers
20 views

Server related: how to code change 'locale' per session in public index.php

This is a frontend question. My client present their site in two languages (se and en, more will follow) the visitors can switch language manually. We set a variable, and we have fields for ...
0
votes
0answers
11 views

securimage cannot pass session from embedded template to container template

So long story short, we've upgraded from ee1 --> ee2. Previously we used freeform and their respective captcha. Now however, we built our own version of freeform that gives up more control and a ...
0
votes
0answers
17 views

Update database from the front end?

Is it possible with a native, third party or even the expresso store module itself to update a Database row from the front end? We are using Expresso Store for internal orders, and want to be able to ...
1
vote
1answer
34 views

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

Am trying to include an html encode php script on the very top of a layout template. Am allowing php to execute on this layout template, however I end up with something like this {!-- ra:...
0
votes
0answers
17 views

How to disable strict urls

How to disable strict urls in the admin panel? The problem is: site.com/admin.php?/cp/design/edit_template&id=23 - return 404 error site.com/admin.php?D=cp&C=design&M=edit_template&...
0
votes
1answer
72 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
120 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
44 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
18 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
15 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 entry,...
0
votes
0answers
21 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
17 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
18 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
33 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
5answers
477 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
27 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
36 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
41 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
28 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
42 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
26 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
45 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
89 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
27 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
18 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
55 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
92 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 etc....
1
vote
0answers
38 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
25 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....
0
votes
2answers
24 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
16 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
52 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
34 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
42 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); ...
1
vote
2answers
78 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
77 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 (https://...
0
votes
2answers
128 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
309 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
135 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 channel:...
0
votes
2answers
2k 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
44 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
236 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
2answers
92 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
95 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 ...