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

learn more… | top users | synonyms

0
votes
2answers
17 views

PHP errors in control panel; main site still working

NOTE: I am a non-technical person and know nothing about PHP. I can follow step-by-step instructions though. I am running EE v2.5.5 I am getting PHP errors on my control panel which won't go away ...
0
votes
0answers
14 views

Cartthrob - Array to string conversion error on CT's extload.php page

Getting the following error in EE 2.9 & CT 2.6 on checkout extload.php page: Notice: Array to string conversion in /usr/wwws/users/dccedgxbkf/system/expressionengine/libraries/Template.php on ...
0
votes
0answers
8 views

Default Avatars in Discussion Forum Templates PHP

My PHP skills are not that good and I have been struggling to get some code to work once I have upgraded to EE2. For EE1, I had this code to display avatars on certain forum pages that did not ...
0
votes
1answer
12 views

Only some PHP being outputted

I have the following php code in a template and it's not parsing the whole thing. Any idea what the issue is? Here's the php code: <?php include "Eventbrite.php"; $authentication_tokens = ...
0
votes
1answer
18 views

EE isn't parsing PHP code, even though it should be

I'm sending an Ajax request via jQuery to an EE template. This is the entire contents of the EE template: {exp:channel:entries channel="tours" url_title="<?php echo $_POST["entry"]; ?>" ...
0
votes
1answer
16 views

A PHP Error was encountered Severity: 8192

I have some php code that I have embedded. Which seems to work fine alone on the server however when embedded I get this error. A PHP Error was encountered Severity: 8192 Message: Function split() ...
0
votes
1answer
25 views

Expressionengine Email Contact Form Tags and Success Messages

Does anyone know of a way to create a custom success message and post to the expression engine processing controller manually? I'm using jQuery validator, and usually what I would do is something ...
1
vote
0answers
37 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 ...
0
votes
1answer
56 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 ...
1
vote
1answer
21 views

PHP doesn't work with Relationship field

I’m having trouble embedding PHP into a template and having anything on the page render, and I assume it’s because I’m working with a Relationship field. Just as an example, this works: ...
1
vote
1answer
34 views

Control Panel remains Unstyled

Disclaimer: I have already read and implemented the solution found in the ExpressionEngine 2.8.1 user guide. My Problem: Control Panel is unstyled when viewed from any computer other than the server. ...
0
votes
0answers
11 views

How to include two or more classes that has the same name but in separate package in php?

I have more than 10 package(project core) and all of them has library class with the same name may same function inside the class, for example all of package has a library class named as mng_auth, so ...
2
votes
1answer
43 views

Hosting an external web app within EE pages

Not an EE developer, but trying to answer a question for a client. They have a database (oracle) that they know they'll need to create a custom front end for, but they want it to somewhat integrate ...
1
vote
1answer
47 views

Iterate child categories inside parent category loop

I have a simple two-level category structure like this: Fresh Fresh Pre PackedFresh Bulk Frozen Frozen Pre Packed Ready To Go MealsCondiments I'm simply trying to iterate though the parent ...
1
vote
2answers
34 views

Solspace and Structure conflict?

So this is my problem. I am using Structure for a site. But, I am also using Solspace Calender-- particularly for the ICS function more than anything. (So, if there is another option out there ...
0
votes
1answer
52 views

PHP parsing stage

I seem to be a bind. I have this code below ... foreach ($items as $item) { ?> {exp:channel:entries channel="foo" search:field_name="<?php echo $item['some_key']; ...
0
votes
2answers
40 views

Assets 2.3.2 Lib file - Causes PHP error

After updating to the latest versions of the Assets extension for Expression Engine. When I am logged in as a Super Admin I get the following PHP error, I don't get this error when logged in as a ...
1
vote
0answers
85 views

New server, EE migration, PHP 5.4 issue

We've just set up a new server with the identical set up of a previous server, with one small difference: php 5.4 instead of php 5.3. This is an EE install, version 2.6.1. When I go to the site I ...
0
votes
0answers
18 views

EE 2.72 PHP Errors when click “Run Module Updates”

I am having a problem with a site that has run well for a couple of years. Suddenly I am having both freeform and EE errors. I have temporarily solved the freeform error (waiting on solspace advice) ...
0
votes
1answer
22 views

Cartthrob plugin for email notifications based on custom field

I found a plugin on the following site http://becordial.co.uk/expressionengine-cartthrob-email-notification-dynamic-custom-field/ which I have uploaded but does not show up in the extensions list so ...
0
votes
1answer
64 views

PHP Query EE database

I have a ajax template and would like to query the channel to select certain entries for a drop down select. How should I modify the code below to get all the results needed. Trying to modify the ...
0
votes
1answer
19 views

php class should return JQ library single time when its calling multiple time in single template

i am using a php class that returns jquery library if the class calls multiple times on same page it should include that jquery library single time . it works if class called single times it works ...
0
votes
1answer
23 views

Conditionally returning result from a plugin

I'm writing a custom plugin to tap into an external database, and I'm getting the overall results I want. However, I want to wrap my return values around a conditional to avoid processing unnecessary ...
0
votes
0answers
13 views

how to get parent URLs belonging to it's child categories in expressionengine? [duplicate]

i wants to get parent url of child categories like this Example: PRODUCTS & SERVICES > ENTERTAINMENT > SURPRISE PROMO. PRODUCTS & SERVICES is my parent category, and ENTERTAINMENT is PRODUCTS ...
1
vote
0answers
58 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' ...
0
votes
2answers
30 views

Relationships with Channel Videos

I am needing to obtain a count for every video being parsed through Channel Videos via relationship entries. I want to continue using a grid with my layout so the content can scale like the rest of ...
1
vote
1answer
39 views

How to use EE classes like DB,channel API from a php file

I have a requirement in one of my EE site wherein I need to insert some data in tables and make some channel entries using EE channel API,I am able to do this within a EE template using database class ...
1
vote
0answers
17 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 ...
0
votes
1answer
44 views

Will EE work with php 5.5.10 okay?

Quick question regarding whether anyone knows of any issues with installing EE on a server running the latest version of php (5.5.10 as I write this)?
1
vote
1answer
50 views

How can I use third party class in EE to render instagram images on templates?

I have been using an instagram class in projects for Laravel and other small php sites and it has seemed to work well. I include a require_once in my functions file. I then create a function that ...
1
vote
1answer
49 views

Remove .php extension from index.php. .htaccess file is putten were?

I have code in .htaccess file RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^.]+)$ $1.php [NC,L] My directory like.. www/careers/index.php And i have putten .htaccess file ...
0
votes
2answers
75 views

Church Community Builder API Not Working In Template

I am using an api from a third party developer that I can get to work outside of EE with a simple PHP include, but I can't seem to get it to work within a template. You will see that this page ...
2
votes
2answers
73 views

ExpressionEngine source control via git

Im trying use some form of source control with EE. I cannot clearly see a way to decouple the database from the templates and other structures, as would be the case in a most CMSes. Creating channels ...
1
vote
2answers
89 views

Upgraded ExpressionEngine, php error on site brings entire site down

I've just upgraded from ExpressionEngine 1 to 2. The upgrade ran smoothly and I can access my admin panel. Whenever anyone goes to the site, they're greeted with this error: A PHP Error was ...
1
vote
0answers
56 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 ...
0
votes
0answers
32 views

timestamp date comparison and functions

On my first EE project.. I have a matrix field which returns a timestamp date (when a course was completed), what I want to do is compare the date against todays date and return the number of days. ...
0
votes
0answers
38 views

Problem with executing PHP with expressione engine tag from Freeform (Solspace extension)

I have the following code <?php $startweek = '{freeform:field:week}'; echo $startweek; ?> <?php $date1 = $startweek; $date2 = '03-09-13'; function returnDates($fromdate, $todate) { ...
0
votes
1answer
87 views

Segment parsing and embedded PHP errors

So basically we need to check the pattern of a segment and if it doesn't match our patterns we go on to start our entries loop with a category (via seg2cat). if {segment_2} is a date, it's either ...
2
votes
1answer
54 views

Query a NON EE table in database?

I have a HTML table where a user can subscribe.I send an ajax call when the user clicks the subscribe button and store it in a non ee table.Next time when the user comes on the same page,I want to ...
1
vote
1answer
421 views

How to stop EE Sending “Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0”

Full Story: I'm backing an HTML application with expression engine, using the wonderfully unreliable appcache tech. It works in firefox and chrome, but not IE and i've nailed (using charles proxy ...
1
vote
2answers
75 views

Creating A-Z index for entries

sorry again for my bad english... i'd like to create a A-Z list for my entries (recipes) and show them if i click on the related letter. This code below showing entries by first letter and it's ok ...
1
vote
1answer
23 views

Pre-Sales: multiple content moderators and security

I'm trying to check if Expression engine is the correct product for a new project. I received the request from a customer to build a portal for a sporting association. This company organizes ...
0
votes
1answer
73 views

Embedding PHP in EE tags or using equivalent expressions in PHP

There are so many essential things you simply can't do with EE; this is one I'm having issues with. What I want to do: Use AJAX to GET a template while sending data via the URL segments. In the ...
3
votes
2answers
1k views

jQuery AJAX POST data can't be accessed via PHP

The following allways evaluates if (isset($_POST["sort"])) as false: // Base template // Fired on click event (no JS console errors) $.post( "/path/to/ajax/target/", {sort: day} ); // AJAX target ...
2
votes
4answers
392 views

Very slow performance on production, not on local dev, doesn't seem to be the database

I'm running an ExpressionEngine site using CartThrob for a shopping cart. Some of the pages are loading extremely slowly on the production server (7, 10, 15 seconds of Controller Execution Time as ...
2
votes
1answer
49 views

“Date field is required” error when saving entries

I'm using Store to manage products with lots of modifiers. At some point, a product will reach a number of modifiers where it starts producing a "Date field is required" error every time I try to save ...
0
votes
0answers
45 views

Chained Select & Related Entries

I am trying to modify the chained select article @ http://johnhenry.ie/articles/chained-selects-for-expressionenginethis so that the first drop down will show all the parent entries and on select the ...
1
vote
1answer
49 views

Need Help Troubleshooting Custom Cartthrob Plugin

I have a custom plugin that was made by a previous developer. The client has asked for it to be modified to display all items ordered, instead of just one, and for some reason, the item name field is ...
1
vote
1answer
75 views

Compare contents of two grid inputs, possibly with variables?

I have two grid inputs and I need to have a conditional statement that says: if all fields of both grids are equal to 0, output some text. The way I'm trying to do this is by changing a variable value ...
2
votes
1answer
56 views

channel entries tag seems to run before my module function

The {exp:bmi_favorite:list_ids entry_type="recipe" site_id="1"} outputs 18|19 to be passed to the entry_id parameter. It does not work, unless I manually add the 18|19 into the entry_id, like ...