Hot answers tagged

11

Do you have access to the MySQL database? If so, you can change the admin's email and initiate a password reset at the login screen.


10

Does a faster server mean a faster CP? YES In your case is "shared hosting" - sometimes can happens that some site which share the same resources (DB or CPU) just take it all. So best advice for this - change hosting. Are there any hard, fast rules to speed up the CP? On shared hosting is not too much ways to speed up CP. You need to analyse CP page one-...


7

If you are seeing a white screen there's an error happening and you need to display that error to be able to know how to proceed. (See the EE user guide about Blank Pages.) To show that error, edit your folder's index.php file and replace $debug = 0 with $debug = 1. Revisit your site and you should see the error. If you see something like this: A Database ...


6

If you mean that the control panel pages appear without style and formatting this sounds like a path issue. In the control panel, go to Admin > General Configuration and check the URL to your "themes" folder and Theme Folder Path are both correct. If that's not it, then I'd double check the permissions on the themes folder. You can also use your web ...


6

I've had that happen, generally when a session string is automatically added to the admin url, so when it looks like: http://mydomain.org/admin.php?S=6a260ba9fe18b9b11fa552ce03bd203ac665ae Generally, if it's without the session data, the login happens fine, the first time; but with it seems to break then re-trigger the session info by forcing the second ...


5

My first suggestion is to clear browser Cookies and Cache. The second step is to add the following into your config.php file: $config['cookie_domain'] = ""; $config['cookie_path'] = ""; $config['cookie_prefix'] = ""; $config['admin_session_type'] = "s"; $config['user_session_type'] = "c"; $config['require_ip_for_login'] = "n"; $config['...


5

Like Bhashkar said, that code should work in either a PHP-enabled template or put in a plugin and then put in a template. Then call the template to clear cache. A more advanced way, and probably the proper way to do it, is to create a simple module, which can use an Action URL. Stephen Lewis wrote a blog post about what Actions are. Basically, an action ...


4

I expect the developer who configured the site restricted your admin privileges so that you can create entries and post content to the site, but not configure the website. Channels, template groups and templates are all underlying components that structure what the site supports and how it renders. They all need to be accompanied by code to work on the ...


4

Yes it will work, just use the same database config (you'll need to use the full name of the database server rather than 'localhost'). When you have the dev site installed and working just copy the files over to your live server. You will then need to update a number of paths in various parts of the system. For this I would suggest using Focus Labs Config ...


4

The offline template is served from the DB, which can be edited in the control panel: Design > Message Pages > Offline Template However, Custom System Messages allows you to use custom templates as system message which can parse other template tags.


4

You need to create a channel field into that channel and in channel entry, you need to assign that user group type who can access the page. for eg: Suppose you have a channel (named as "XYZ") and add a new channel field (as 'group_permission'). This channel field can be drop down and you can add group listing in drop down (as group A, group B) Now Go ...


3

I recently had this problem when my hosting provider, Eleven2, updated our shared hosting server's configuration. The problem seems to be "mod_security" blocking these requests. To fix the problem disable mod_security in your .htaccess file by adding the following lines: <IfModule mod_security.c> SecFilterEngine Off </IfModule>


3

It is possible, but the mechanism for generating session IDs changed for EE 2.6, so if you want to retain compatibility with 2.5 and under (as I did) you need to add in a quick version_compare check. Here's the snippet that I'm using with Missing Link. $sess_type = $this->EE->config->item('admin_session_type'); $session_id = ($sess_type == 'c') ? '...


3

First of all, you should probably talk to your boss about upgrading to the latest version of EE. 2.2.0 is quite old. Secondly, you might want to start by reading the ExpressionEngine documentation, such as The Big Picture. ExpressionEngine uses "channels" to store data, which are basically types of content (each with their own data structure). So in your ...


3

I ran into this a while back and Robin helped me. Here's the thread on the subject: http://ellislab.com/forums/viewthread/224591/ And here's the answer: As an update for anyone who stumbles on to this post, the great EllisLab team tracked the issue down to headers and post data through json. Info is below: It boiled down to a json array being sent as a ...


3

I did this exact same thing all natively with the exception of structure a few months ago. The challenge was to provide member groups access to different information on the same template with the added challenge of each member group having a state affiliation and union affiliation that they belonged to. The most difficult part was a file system (think ...


3

If you're looking to change the column layout as well as the look, try the module Zenbu. It will let you customize which columns are visible from the Edit Entries view. You can show expiration dates, edit dates, custom field data, etc. You can also vary what columns are shown based on member groups. https://devot-ee.com/add-ons/zenbu


2

Can you use Safecracker? Then there would be no need give the editors access to the CP at all. After logging in they would see the Safecracker form and can add an entry. You could then set the available categories in the form in regard of the user group. If editor1 is part of the editor_group_2 he´ll get access to the news_category1 and news_category_4. ...


2

Per Adrian's suggestion, I'll elaborate on my comment. Entries made through the front end require Safecracker, which is a first-party module that allows you to build an entry form on the front end (i.e. the user would not need to be in the EE control panel to add a new entry to the "testimonial quotes" channel. But it's a little tricky to set up, ...


2

It maybe worth checking to see if you’ve got the same number of exp_weblog_titles and exp_weblog_data rows. You can do this by going to Admin > Utilities > SQL Manager > Database Query Form select count(*) as cnt from exp_weblog_titles select count(*) as cnt from exp_weblog_data Enter these one at a time inside your form. Make sure the numbers match.


2

It sounds like you need to be set as a SuperAdmin if you do not have access to a SuperAdmin that can change your account type you have a few options. The easiest would be to: If you have access to Tools > Data > SQL Manager > Database Query Form you can simply run the following command UPDATE exp_members SET group_id=1 WHERE member_id=X Where "X" is ...


2

Using the native member group settings, you can definitely create these two groups and set their permissions accordingly. I strongly recommend downloading the EE 1.7 docs in the top right corner of the EE online User Guide. Control Panel Location: Admin > Members and Groups > Member Groups Once you create the member groups, edit their permission related ...


2

Try this code by putting withing a EE template and run: ee()->load->library('auth'); ee()->auth->update_password([MEMBER ID], '[NEW PASSWORD]'); For EE2.4: $EE =& get_instance(); $EE->load->library('auth'); $EE->auth->update_password([MEMBER ID], '[NEW PASSWORD]'); I hope, it would work for you.


2

Within the Media Temple Admin, go to PHP Settings. Within PHP Settings, your particular EE site domain it is probably set to use FastCGI currently. Change it to CGI Stable and your problem will be solved.


2

Wygwam Super Admin Source does exactly what you need.


2

I'd guess your files didn't upload correctly to the server. Reupload all your EE files to the server... specifically, make sure your /themes directory in 100% uploaded. Also, make sure you are changing/setting directory & file permissions on the server.


2

I had the same issue and created an accessory to rewrite the title tag using JavaScript. its not the best solution but it did the job. Maybe you could build on it to make it better. Follow the instructions here for creating an accessory and add this code as the set_sections. function set_sections() { $meta_title = implode(" | ", array_filter(array($this-...


2

You can use the {cp_session_id} global variable to create a control panel link. See the documentation here. {if logged_in_group_id == "1"} <a href="{cp_url}?S={cp_session_id}">go to admin</a> {/if}


2

Something isn't right in your structure database. Deleting members and choosing the "delete all entries" option seems to leave the structure database in an inconsistent state. The structure folks include a tool for fixing this sort of thing. First back up your database. Then edit your_ee_root/expressionengine/third_party/structure/mcp.structure.php And ...


2

I've done both. The only thing you'll have to consider it making sure your cookie domains are set correctly, depending on if it's a site2.domain.com or domain.com/site2. Otherwise, the MSM sites will function exactly the same. Past that, at most you have the regular head aches that could come from migrating a site, including getting .htaccess rules set ...


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