Hot answers tagged

21

The guys at P&T did come back to me in less than 24 hours with a fix. I'll post it here in case someone runs into the same problem. Take a look at the columns in exp_playa_relationships table in the database. Does it have a field parent_var_id? If no, then the version you should set is 4.1. If yes, does it have a field parent_is_draft? If ...


12

Broadly speaking, as the error says, you are not connecting to your database. So, check to make sure everything is "plugged in" properly. Things to check: /expressionengine/config/database.php - file exists - triple check you are using the correct database info for your current server/environment (host, username, password, and database name) - file has ...


11

Jesus Christ, never EVER enter a comma in EE. I bet you brought down gmail yesterday too.


10

Take a look at my comment on this post: "no input file specified" - .htaccess Might be the same issue: if so, you need to add a ? to the RewriteRule (to index.php) in your htaccess, for example: From RewriteRule ^(.*)$ /index.php/$1 [L,QSA] To RewriteRule ^(.*)$ /index.php?/$1 [L,QSA]


7

You will get that error if you have secure forms enabled, and you submit a form without including a valid XID in the post. More here: http://ellislab.com/blog/entry/putting-the-secure-in-secure-mode-forms Add this to your form: <input type="hidden" name="XID" value="{XID_HASH}"> You can disable secure forms in your config, although this is not ...


6

Big thanks to Joel Bradbury for solving this one. I needed to add $config['disable_csrf_protection'] = 'y'; to my config. Here's why: It'll be because the tokens have been generated on a different base domain, and then it's moved and gotten stuck. Normally they're regenerated when they're detected as expired, but if it see's them as not expired, but ...


5

I use the Sitemap-Module V 2.6 from PutYourLightsOn. This caused the error. When I disable the module all is fine. The most recent version of this module is 2.6.2. I installed it, but the problem persisted. The message Message: Undefined index: field_id_sitemap__ping_sitemap gave me the hint to try to disable the sitemap module. I will ask the programmer ...


5

The most common Publish Page DB error for site where member can publish they entries is happens because spammers registered too many accounts. And Publish page just going down when it trying to load the authors list. In Safecracker you don't have author list field, so it's why this issue is not effected on SC form. But you can tested it just trying to open ...


5

This one's not worth tracking down the root of to be honest -- this is most definitely not what embeds are for, and I'm not surprised you're hitting an error when trying to load this giant hunk of PHP as an embed. My advice is to work with ExpressionEngine, not against it by cramming dozens of lines of PHP into a template. I'd look at moving your custom ...


4

I have ran into the same issue on MediaTemple and have fixed it by modifying the .htaccess file. For me, my old base .htaccess references index.php and was missing a '?' after it. First place I would check is .htaccess and go from there.


4

If you are using EE 2.7+ there is a new current_query_string global variable you can test against. {if current_query_string} {redirect="404"} {/if} Or, for versions less than EE 2.7... Install the Mo Variables Extension and enable the setting that gives you a {query_string} variable. Then in your homepage template you can do {if query_string} {...


4

If you were using 2.4 you probably need to update FreeMember to the latest version to address changes in EE for the 2.7.x releases. Safecracker is now part of the channel module. You can download the latest version at https://github.com/expressodev/freemember


4

It turns out this error was caused by a misconfiguration of the SSL certificate at the web host's end. After getting the error on Exp:resso Store pages using https, I tested a page load of the home page (a non Store page) and got the same error. I concluded it wasn't an Exp:resso Store specific issue. I eliminated htaccess as the source of the error by ...


4

Turns out, this has nothing to do with Store at all. Found my answer on StackOverflow: Since PHP 5.3.9 there's a new configuration setting called "max_input_vars" which limits the number of input variables. The default setting is 1000. Also check if Suhosin is installed, because there's also a similar setting.


4

ExpressionEngine has a protection against Cross-site Request Forgery - CSRF and a documentation available here. You just have to add that line to your form: <input type="hidden" name="csrf_token" value="{csrf_token}"> And send the data in your AJAX request. I had the same problem today and that fixed it for me.


4

I just encountered this, and found that I had to follow the instructions in this Dreamhost wiki entry to truly enable fileinfo functions. (The default "shared" fileinfo support didn't cut it.)


3

Check that the images are actually of the type uploaded. The error is suggesting they're not valid JPEGs, so it's worth checking they've not been saved as, say, a PNG file and renamed to JPEG. Alternatively, the file could be corrupt either at your or the server end. Finally, if part of the file has been written it's possible the disk is full at the ...


3

Check this permission for their member group: Can change the author name when posting channel entries. (Under Members → Member Groups → Edit Member Group.)


3

This should be fixed for next release (i.e. after version 1.8.5.2). In the meantime, if you want to try and fix this right away, go in /system/expressionengine/third_party/zenbu/views/zenbu_index.php and change line 22 from <?php $selected = $optval == $rule_cond['field'] ? 'selected="selected"' : '';?> to <?php $selected = isset($rule_cond['...


3

I just check your site using Integrity and it looks like you don't have this urls any more. Possible you had something in your old templates (I can see that Google cache had another design for pages like /caprice/P12). I believe soon all old links will be removed by Google because of Status : 301. Just need to wait. I saw also that you start using <...


3

A couple of things to try: Can you increase PHP's memory limit? Also - since you mentioned Safecracker - is this an older site - and are you using anything other than Channel Images for your images? I've had issues with Imgsizer and switching to CE image helps. Finally, can you either delete or turn off the entry via the db directly to get back into the ...


3

It's an XID issue/bug that is known to EL and slated to be corrected in the next release. A fix until then is posted: https://support.ellislab.com/bugs/detail/19920#12050


3

Add this right above line 194 in admin/expressionengine/libraries/Extensions.php: $this->EE->load->helper('string');


3

After a little research and a bit of asking around on forums, I found that GoDaddy shared servers were reading the contents of the Security.php file and treating it as malware. I've got in touch with GoDaddy and I'm waiting on a response but this is another reason for me to take my hosting elsewhere... http://ellislab.com/forums/viewthread/244598/


3

It appears that one of the channel fields was at fault. To narrow it down, I removed field by field from the template After the error disappeared, I deleted the channel field and recreated it with the same settings. Now just revert all changes to the template and you're good to go. The error has since disappeared.


3

I wouldn't recommend this but in cases where you have no choice, e.g. you cannot tweak the code in an app in time or something to that effect, you can opt to conditionally disable secure forms in your config.php or bootstrap. E.g. // Make an exception to make AJAX forms app-compatible // EE 2.7.x introduced mandatory XIDs even for AJAX, but an app won't ...


3

/system/codeigniter/system/libraries/Cache/Cache.php Has the Cache class - Check this file is on the staging server, also check the permissions. I've often had similar issues where it's related to case sensitivity and differing servers (my local not being case sensitive, the public servers are) - so also check that the folder and file are in the correct ...


3

The "This site is currently unavailable" error suggests to me the IP addresses or usernames or something has been added to the "banned" list. This is how you check and fix this. --------->>>>>>>> BEFORE YOU PROCEED... BACK UP YOUR DATABASE --------->>>>>>>> THEN BACK THE DATABASE UP AGAIN ============================= Go into the exp_sites table in the ...


3

This is a known bug in 2.9.0 and will probably soonish be fixed in an update See: https://support.ellislab.com/bugs/detail/20462/grid-fieldtype-brings-up-warning-when-rows-are-present-on-entry-submit (ps. bug report includes patch/fix)


3

$plugin_info is a required array for ExpressionEngine 2.x plugins. The PHP class providing the functionality for the plugin will work fine without it, but that is where the information for installed plugins is pulled to be displayed in the control panel. You can find the full details here: ExpressionEngine Plugin API: $plugin_info array e.g.: $plugin_info ...


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