EllisLab Community Forums http://ellislab.com/forums/ EllisLab Community Forums en Copyright 2013 2013-05-21T06:30:47-05:00 Image Sizer not working on EE core 1.6.9 http://ellislab.com/forums/viewthread/235529/ http://ellislab.com/forums/viewthread/235529/#When:06:30:47Z <p>I moved one website to a server which runs PHP Version 5.3.24 and consequently Image Sizer stopped working. Is anyone else experiencing the same problem or is there something else that could be wrong. </p> <p>Template tags are correct, file paths are OK,&nbsp; field value with path to image is as it should be.</p> <p>Any ideas anyone?</p> 2013-05-21T06:30:47-05:00 Massive increase in registration spam http://ellislab.com/forums/viewthread/235389/ http://ellislab.com/forums/viewthread/235389/#When:11:42:24Z <p>I need help with this please. We are getting so many new registrations (20 or so every minute) that it’s slowing our site down and taxing the server CPU. Here is what i’ve done:</p> <p>- Turned off Member Registrations<br /> - Enabled Captcha<br /> - Changed the Profile Triggering World</p> <p>Any idea what else i can do to head this off? Registrations are still pouring in. We don’t use front end registrations at all, so i’d prefer to just get rid of it. </p> <p>Thanks!</p> 2013-05-14T11:42:24-05:00 getting flooded with new member registration spam http://ellislab.com/forums/viewthread/235062/ http://ellislab.com/forums/viewthread/235062/#When:13:56:41Z <p>hoping someone can help here… i’ve disabled new member registrations, i’ve changed the profile word to gibberish, set new members to “banned” group, but nothing is working</p> <p>i’m getting new member registrations every few minutes… anyone know how I can stop this?</p> <p>Thank you!</p> 2013-04-29T13:56:41-05:00 Acquiring 1.7.3 http://ellislab.com/forums/viewthread/232638/ http://ellislab.com/forums/viewthread/232638/#When:11:21:55Z <p>So my company has maybe 5-8 1.7 EE versioned sites. We are migrating all of our 2.x sites over to a new hosting environment. The problem is that the 1.6.8 and 1.7’s we have run on an older verion of PHP. Is there ANY WAY we can get a copy of 1.7.3 as apparently that version will run on our new servers.</p> <p>We are planning on upgrading those to 2.x but really need to migrate these sites before that will happen.</p> <p>Any help would be awesome!</p> <p>Thanks,</p> <p>Mark</p> 2013-01-16T11:21:55-05:00 #.UYvf95Ud7Bo attached to url http://ellislab.com/forums/viewthread/235277/ http://ellislab.com/forums/viewthread/235277/#When:13:46:42Z <p>Hi,</p> <p>Why does EE attach a pound sign and a dot and a random character string after each url?</p> <p>How can I turn this off?</p> <p>e.g.:</p> <p><a href="http://www.example.com/mytemplategroup/mytemplate/#.UYvge5Ud7Bp">http://www.example.com/mytemplategroup/mytemplate/#.UYvge5Ud7Bp</a></p> <p>Thanks,<br /> L.</p> 2013-05-09T13:46:42-05:00 Turning off Member Registration http://ellislab.com/forums/viewthread/234923/ http://ellislab.com/forums/viewthread/234923/#When:11:35:00Z <p>Lately spammers have been filing in as members on a site I’m working on. I’ve been manually deleting them because when I try to turn off member registration I get this message, “The following path you submitted is not valid:”</p> <p>With a file path that doesn’t exist. I tried looking for it, but it isn’t there. How do I get control of this?</p> 2013-04-23T11:35:00-05:00 RSS Custom Field in MailChimp http://ellislab.com/forums/viewthread/235170/ http://ellislab.com/forums/viewthread/235170/#When:15:31:03Z <p>HI! I am pretty new to EE, just inherited this project.</p> <p>I am struggling to get a custom field to pass through an RSS feed to a Mail Chimp Merge Tag *|FEEDITEM:IMAGE|*</p> <p>I am hoping pull an image source into a newsletter.</p> <p>This is what I am using: Any love will help.</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #f5f8cc">{exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">weblog</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">entries&nbsp;weblog</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"{master_weblog_name}"&nbsp;</span><span style="color: #f5f8cc">category</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"314"&nbsp;&nbsp;</span><span style="color: #f5f8cc">limit</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"5"&nbsp;</span><span style="color: #f5f8cc">rdf</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"off"&nbsp;</span><span style="color: #f5f8cc">dynamic_start</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"off"&nbsp;</span><span style="color: #f5f8cc">disable</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"member_data|trackbacks"</span><span style="color: #f5f8cc">}<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #91f291">&lt;</span><span style="color: #f5f8cc">item</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">title</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">xml_encode}{title}{</span><span style="color: #91f291">/</span><span style="color: #f5f8cc">exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">xml_encode}</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">title</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">link</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{title_permalink</span><span style="color: #91f291">=</span><span style="color: #f5f8cc">article}</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">link</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">guid</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{title_permalink</span><span style="color: #91f291">=</span><span style="color: #f5f8cc">article}</span><span style="color: #479fd1">#When:{gmt_entry_date&nbsp;format="%H:%i:%sZ"}&lt;/guid&gt;<br />&nbsp;</span><span style="color: #91f291">&lt;</span><span style="color: #f5f8cc">description</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">By&nbsp;</span><span style="color: #91f291">-&nbsp;</span><span style="color: #f5f8cc">{created_by_alias}&nbsp;<br /></span><span style="color: #91f291">&lt;!</span><span style="color: #f5f8cc">[CDATA[</span><span style="color: #91f291">&lt;</span><span style="color: #f5f8cc">img&nbsp;src</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"{img-custom-field}"&nbsp;</span><span style="color: #f5f8cc">border</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"0"&nbsp;</span><span style="color: #f5f8cc">height</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"150"&nbsp;</span><span style="color: #f5f8cc">width</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"150"&nbsp;</span><span style="color: #f5f8cc">align</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"left"&nbsp;</span><span style="color: #f5f8cc">hspace</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"5"&nbsp;</span><span style="color: #f5f8cc">title</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"{title}"</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{content}]]</span><span style="color: #91f291">&gt;&lt;/</span><span style="color: #f5f8cc">description</span><span style="color: #91f291">&gt;&nbsp;<br />&nbsp;&lt;</span><span style="color: #f5f8cc">image</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">url</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{img</span><span style="color: #91f291">-</span><span style="color: #f5f8cc">custom</span><span style="color: #91f291">-</span><span style="color: #f5f8cc">field}</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">url</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">title</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">My&nbsp;Title</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">title</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">link</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{title_permalink</span><span style="color: #91f291">=</span><span style="color: #f5f8cc">article}</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">link</span><span style="color: #91f291">&gt;<br />&lt;/</span><span style="color: #f5f8cc">image</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">dc</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">subject</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">xml_encode}{categories&nbsp;backspace</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"1"</span><span style="color: #f5f8cc">}{category_name}</span><span style="color: #91f291">,&nbsp;</span><span style="color: #f5f8cc">{</span><span style="color: #91f291">/</span><span style="color: #f5f8cc">categories}{</span><span style="color: #91f291">/</span><span style="color: #f5f8cc">exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">xml_encode}</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">dc</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">subject</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #f5f8cc">dc</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">date</span><span style="color: #91f291">&gt;</span><span style="color: #f5f8cc">{gmt_entry_date&nbsp;format</span><span style="color: #91f291">=</span><span style="color: #FFFFFF">"%Y-%m-%dT%H:%i:%s%Q"</span><span style="color: #f5f8cc">}</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">dc</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">date</span><span style="color: #91f291">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #f5f8cc">item</span><span style="color: #91f291">&gt;<br /></span><span style="color: #f5f8cc">{</span><span style="color: #91f291">/</span><span style="color: #f5f8cc">exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">weblog</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">entries}<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #91f291">&lt;/</span><span style="color: #f5f8cc">channel</span><span style="color: #91f291">&gt;<br />&lt;/</span><span style="color: #f5f8cc">rss</span><span style="color: #91f291">&gt;<br /></span><span style="color: #f5f8cc">{</span><span style="color: #91f291">/</span><span style="color: #f5f8cc">exp</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">rss</span><span style="color: #91f291">:</span><span style="color: #f5f8cc">feed}&nbsp;</span> </span> </code></div> 2013-05-03T15:31:03-05:00 CodeIgniter Integrating with Wordpress http://ellislab.com/forums/viewthread/235090/ http://ellislab.com/forums/viewthread/235090/#When:12:08:48Z <p>Ok, bit of a foreword:</p> <p>I know this isn’t advisable; I have already built a system back-end in CodeIgniter, the client has a wordpress theme he wants to use though, and to manage the front end pages.</p> <p>I’ve managed to get this working up to a point:</p> <p>I’ve got wordpress installed at root level /</p> <p>then I have codeigniter off the root at /ci/</p> <p>In my codeigniter ‘index.php’ I have the following to avoid the ‘site_url’ collision.</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #91f291">require_once&nbsp;</span><span style="color: #FFFFFF">'../wp-blog-header.php'</span><span style="color: #91f291">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #f5f8cc">add_filter</span><span style="color: #91f291">(</span><span style="color: #FFFFFF">'site_url'</span><span style="color: #91f291">,&nbsp;</span><span style="color: #FFFFFF">'ci_site_url'</span><span style="color: #91f291">,&nbsp;</span><span style="color: #f5f8cc">1</span><span style="color: #91f291">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function&nbsp;</span><span style="color: #f5f8cc">ci_site_url</span><span style="color: #91f291">()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #f5f8cc">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #91f291">include(</span><span style="color: #f5f8cc">APPPATH</span><span style="color: #91f291">.</span><span style="color: #FFFFFF">'/config/config.php'</span><span style="color: #91f291">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'base_url'</span><span style="color: #f5f8cc">]</span><span style="color: #91f291">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #f5f8cc">}&nbsp;</span> </span> </code></div> <p>This is all OK; I can call get_header &amp; get_footer from CodeIgniter which is great.</p> <p>What is causing me no end of grief though, is WordPresses handling of sessions. I’m using a codeigniter session, which is actually stored within the $_COOKIE array by the looks of things.</p> <p>On the codeigniter pages I have that call the get_header and get_footer functions, the codeigniter session ($_COOKIE) seems to be getting reset. On the inital load, its present but on any subsequent requests its disappeared. I’ve been going through codeigniters code forever trying to find anything that might be doing this. The only thing remotely similar is ‘wp_unregister_GLOBALS()’ in load.php (wp_includes)</p> <p>However this is not the cause. I’ve tried commenting out this function and the problem remains.</p> <p>Is there anywhere in WordPress that may be causing this to be reset/emptied?</p> <p>Strangely enough, pages created through WordPress seem to be ok. Just CI pages that are calling the get_header / footer functions.</p> 2013-04-30T12:08:48-05:00 Trouble installing ee-1.6.8 and/or 1.6.9 http://ellislab.com/forums/viewthread/234929/ http://ellislab.com/forums/viewthread/234929/#When:15:06:55Z <p>I keep getting an MYSQL error when trying to run the installation wizard for ee168 and ee169.<br /> It <em>thinks</em> that the user “root” does not have the appropriate privileges, when in fact it has ALL privileges. This started happening when i upgraded wamp to version 2.2… </p> <p>Does ee168/169 have any issues with PHP 5.3.13 OR MySQL 5.5.24 ??</p> <p>Other installations like 1.7.2 through 2.5.5 work just fine.</p> 2013-04-23T15:06:55-05:00 Login Loop http://ellislab.com/forums/viewthread/235007/ http://ellislab.com/forums/viewthread/235007/#When:14:21:09Z <p>In all three browsers when trying to login it just refreshes. This seems like a common problem and I have even experienced it in the past. I am currently working locally with the WAMP stack and it was working fine yesterday. I have added every suggested config variable and even made sure that my PHP and EE time settings are the same to no avail. Here are my config variables:</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'app_version'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">"260"</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'install_lock'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">""</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'license_number'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">"XXXXXXXXXXX"</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'debug'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'1'</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'cp_url'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'http://domain.local/admin.php'</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'doc_url'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">"http://ellislab.com/expressionengine/user-guide/"</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'is_system_on'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">"y"</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'allow_extensions'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'y'</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'site_label'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'Site&nbsp;Label'</span><span style="color: #91f291">;<br /><br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'cookie_domain'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">''</span><span style="color: #91f291">;&nbsp;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'cookie_path'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">''</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'cookie_prefix'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">''</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'server_timezone'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'America/Anchorage'</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'user_session_type'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'c'</span><span style="color: #91f291">;<br /></span><span style="color: #f5f8cc">$config[</span><span style="color: #FFFFFF">'admin_session_type'</span><span style="color: #f5f8cc">]&nbsp;</span><span style="color: #91f291">=&nbsp;</span><span style="color: #FFFFFF">'s'</span><span style="color: #91f291">;&nbsp;</span> </span> </code></div> <p>Please help ASAP as I am on a tight deadline, thank you!</p> <p>Greg</p> 2013-04-26T14:21:09-05:00