We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Structure module error

Development and Programming

Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

Hi,

I have structure installed on about 6 sites and they worked fine for months, but now they seem to have all broken. Whenever you attempt to move an entry, red text saying “ERROR” appears. I have attached a screen shot. All of the sites are on the same physical server. This error seems completely random; it happens for some people, but not others, even if they are using the same browser and admin account.

Obviously this is not a very descriptive error message, so I have no idea where to start troubleshooting. Is anyone here able to provide some insight?

Thanks.

       
msteinruck's avatar
msteinruck
27 posts
16 years ago
msteinruck's avatar msteinruck

I’m getting the same thing on a site that I installed on a Media Temple server. It did it locally on my Mac too, so I’m not sure what’s going on.

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

This feature definitely works and comes down to an environmental issue, especially if it was working and then stopped.

1) Did you check and make sure you have all the requirements? http://buildwithstructure.com/knowledge/requirements/

2) Are you using jQuery version 1.3.2?

3) Did you check and make sure your extension permissions are 755?

4) Did you upload ALL the files from the Structure download? I’d try reuploading the modules folder to make sure all the needed pieces are there.

5) Do you have enough memory? To increase PHP memory_limit in your .htaccess file, place this rule: “php_value memory_limit 16M” (or increase the number)

       
Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

The requirements are all met, we are using jQuery 1.3.2, I have set all the files/folders in system/extensions and system/modules/structure to 755. Structure was working perfectly fine for months, so I can only assume the files were uploaded correctly. I will re-upload all the files again just to be sure. Where can I download the latest pre-2.0 module from? I have increased the memory limit, via .htaccess. This entailed no change, as it was already set at 128MB. Any other ideas?

       
Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

I’d like to give a bit more detailed information about this scenario. Imagine we have 6 sites. Each of these 6 sites is a subdomain of a primary site, representing a state in our country. Every site is a discrete ExpressionEngine install, but they all sit on the same dedicated server. Every site has the same super-admin account username/password.

If I visit site “1” and attempt to rearrange entries, the error occurs. This occurs regardless of what administrator account I use. All other sites work fine. I have tested this on 3 computers at home, with 4 different web browsers and it is the same every time. I have just tested it now from my workplace (obviously on an entirely different computer and browser) and I get the exact same behaviour as at home. If one of our off-site contractors tries to do the same thing on site “1”, he gets no error at all. However, if he tries to do this on sites “2” and “3”, he does get the error. At no point do I ever get an error on site “2” or “3”, at home, at work or on any particular web browser.

I would point a finger at ISP caching, but my workplace, my home and the offsite contractor all use the same ISP. I’m completely baffled.

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

Jock - The pre-2.0 release is no longer available. We went commercial to support the development time it takes. There have been loads of updates and bug fixes. I can’t guarantee this isn’t environmental and will be fixed it an upgrade, but we provide a 30day guarantee if you need a refund. This is deployed across TONS of sites and works. When it doesn’t it tends to be environmental. If it was working, then it works. Have you checked firebug and seen what the errors are or what’s not found? This is specific to your site and would be easier to chat about through email instea doff checking in here, please email support [at buildwithstructure.com]

       
msteinruck's avatar
msteinruck
27 posts
16 years ago
msteinruck's avatar msteinruck

Hey Jock, I worked with Travis last week and quite by accident figured out that the problem of the red ERROR wasn’t a glitch necessarily, but something wrong with my Admin account. We couldn’t figure out why that would be, but I would encourage you to create a new Super Admin account and then see if reordering works for you. That solved the issue for me, so I just switched the account that I was using and it’s been fine ever since. I hope that solves it for you.

       
Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

Thanks for your replies. Unfortunately, creating a new super admin account has not solved the problem. We will buy a copy of Structure 2.0 and see if anything changes. Cheers.

       
Jock's avatar
Jock
7 posts
16 years ago
Jock's avatar Jock

I’ve just discovered what the problem is - the users are still logging in through the old development domain alias, from before the sites went live. “Site 1” that I’ve been having problems with still had the domain alias in settings. All fixed! Sorry to have inconvenienced you all.

       
Jason Varga's avatar
Jason Varga
26 posts
16 years ago
Jason Varga's avatar Jason Varga

One of our clients that have been using Structure have been continually getting this error and we couldn’t work out why. After looking at Jock’s post, I realised that they were accessing the website without the www in the URL. This is what was causing the problem.

Hope this helps anyone else who may have been having the same problem.

       
Jarrett Barnett's avatar
Jarrett Barnett
31 posts
15 years ago
Jarrett Barnett's avatar Jarrett Barnett

Some things worth checking if Structure reordering ceases to work (especially when performing database imports / exports) is that the Structure Settings is set to the proper Module ID (as the Module ID changes when removing/reinstalling the module).

As Brandon mentioned, Firebug can also help diagnose the problem, for example, ensuring it’s submitting the GET request to the proper URL.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.