Jump to content

Archived

This topic is now archived and is closed to further replies.

rickm901

Illegal String Offset

Recommended Posts

rickm901    0
rickm901

Two identical sites set up to show to a potential client. Two fresh WP installations. Two DMS installations. Two upgrades to 2.0. Two sites malfunctioning in radically different ways.

 

http://lh1.muchmojo.com/ is throwing a PHP error. Warning: Illegal string offset 'clone' in /homepages/30/d314896975/htdocs/clickandbuilds/WordPress/LH1/wp-content/themes/dms/dms/editor/editor.handler.php on line 357

 

http://lh2.muchmojo.com/ is just as frustrating. I have been editing and editing and editing. I've tried different templates. I've uploaded images. I have clicked Publish numerous times. When I open the site in another browser or even another tab in Chrome, I don't see any changes.

 

2.0 looks great--- I just need it to work.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

could you enabled debug on these sites for us please - Site Settings > advanced 

 

Thanks you 

  • Like 1

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

Yes sir. Here is the debug on the one with the error code:

WordPress Version
3.8.1

WordPress Debug
Disabled

Multisite Enabled
No

Current Role
Administrator

Framework Path
/homepages/30/d314896975/htdocs/clickandbuilds/WordPress/LH2/wp-content/themes/dms/dms

Framework URI
http://lh2.muchmojo.com/wp-content/themes/dms/dms

Framework Version
2.0

PHP Version
5.4

PHP memory
256

Mysql version
5.1.73-log

PHP type
Cgi-fcgi

PHP User
U57152980

OS
Linux

Installed Plugins
dms-plugin-pro/dms-plugin-pro.php
pagelines-updater/pagelines-updater.php

 

And here is the one for the site that won't update.

WordPress Version

3.8.1

WordPress Debug
Disabled

Multisite Enabled
No

Current Role
Administrator

Framework Path
/homepages/30/d314896975/htdocs/clickandbuilds/WordPress/LH2/wp-content/themes/dms/dms

Framework URI
http://lh2.muchmojo.com/wp-content/themes/dms/dms

Framework Version
2.0

PHP Version
5.4

PHP memory
256

Mysql version
5.1.73-log

PHP type
Cgi-fcgi

PHP User
U57152980

OS
Linux

Installed Plugins
dms-plugin-pro/dms-plugin-pro.php
pagelines-updater/pagelines-updater.php

Share this post


Link to post
Share on other sites
Simon    247
Simon

Cant see any php error on that page. maybe the page had no content or no sections or something.?

  • Like 1

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

I'll add more content and see if that solves. I was in the process of populating w/ dummy content when I got distracted by the shiny, new, awesome-looking upgrade.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Glad you like it.

  • Like 1

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

I really do. I just need it to work. The guy I'm showing to is big on bells and whistles. I had good templates going w/ the old version, thought I would go with the new for the demo for all the new, cool stuff.

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

Okay, one problem down, one to go. The Illegal string offset error doesn't happen now that I have content.

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

Okay, most of my changes are saving now. I'm not really sure what took me from one state to the other, but I certainly thank both of you for your assistance. 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

From the information you have provided via your debug info, it appears you do not have DMS installed correctly.

 

/homepages/30/d314896975/htdocs/clickandbuilds/WordPress/LH2/wp-content/themes/dms/dms

See above, you have two directories called /dms/dms/

 

There should only be one, meaning your directory should look like this:

 

/wp-content/themes/dms/

 

At the moment, you have this:

 

/wp-content/themes/dms/dms/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

I installed it using the package provided by DMS, which automatically creates that directory structure. If you tell WP to Add a theme and click DMS, that's how it installs.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No it doesn't, DMS does not install it itself inside two folder called DMS, I have just this moment tested this myself, my DMS was installed in the following:

 

/wp-content/themes/dms

 

I did this 4 times and every time it was the same and not once did it install itself into a second folder called dms.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

I did this twice last night and it did it both times. In fact, I really couldn't do it another way if I wanted to--- My hosting co. does not allow direct FTP upload on a click and build install (These were created for testing/ demo purposes).

 

I installed DMS on both sites using the WP console. Then I added the Updater plugin and upgraded them both to 2.0. And this is how my directories are structured.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

OK, well I just downloaded DMS from my account, then went to my testing site's Wordpress Admin Dashboard > Appearance > Themes and then uploaded the zip, it installed DMS into wp-content/themes/dms/

 

I also ran an upgrade and it did the same thing - wp-content/themes/dms, the only way that DMS can be installed in the structure you have is if you either used FTP and didn't install it correctly or your host has some weird configuration.

 

The only way to resolve the way your installation is currently structured is to remove DMS completely from your Wordpress installation and try again or use FTP. to fix the issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

So you're saying that the package you downloaded does not have a master DMS folder and another DMS folder nested inside?

 

Mine, freshly downloaded last night, has a DMS folder with header.php, footer.php, functions.php---  And another DMS folder nested within that has a more complete WP setup with admin folder, etc. I double-checked to make sure this is not an error of mine--- No, it is actually in the ZIP I downloaded from my Pagelines acct.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Can you show me the contents of your zip please, as mine does not contain Master ? The contents of dms folder includes the following:

 

|____comments.php
|____dms
| |____admin
| |____changelog.txt
| |____comments.php
| |____editor
| |____fonts
| |____footer.php
| |____functions.php
| |____header.php
| |____images
| |____includes
| |____index.php
| |____js
| |____less
| |____screenshot.png
| |____searchform.php
| |____sections
| |____sidebar.php
| |____style.css
|____footer.php
|____functions.php
|____header.php
|____index.php
|____language
|____screenshot.png
|____searchform.php
|____sections
|____sidebar.php
|____style.css
 
If your zip contains the following, then everything is fine. Maybe I got confused with seeing dms/dms/ with me thinking that your dms installation was installed in a second folder called dms if that makes sense ?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

Inside the Top Level DMS folder

- DMS folder 

- language folder

- sections foler

- comments.php

- functions.php

- header.php

- index.php

- screenshot.png

- searchform.php

- sidebar.php

- style.css

 

The inner DMS folder has the same files you posted.

 

And I understand you thinking that--- You're not offending me by questioning. I thought it was weird too, but this is how it sets itself up.

Share this post


Link to post
Share on other sites
rickm901    0
rickm901

Will be out of pocket for a few minutes- Please don't think I got angry and walked away. 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

OK, yeah this was me being confused. Basically, I assumed that you had installed dms inside a folder called dms if that makes sense.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rickm901    0
rickm901
I totally get that. When I saw the directory structure I did a double take too. So no worries. :)

Share this post


Link to post
Share on other sites
evscicats    14
evscicats

I am experiencing the same error and have the same folder structure as rickm901.  Do I need to move everything from the second DMS folder to the first DMS folder?

Share this post


Link to post
Share on other sites
rickm901    0
rickm901
The error code seems to have been caused by the fact that there was no content and no categories of been set up. Once I uploaded dummy content, the error code went away.

I did a fresh install over the weekend on another site and used FTP to make sure I didn't have the folder within a folder structure. Not receiving any error codes so far. The template editor is still kind of sluggish, but I think that is just always going to be that way. There's just so much going on under the hood that it will always drag a little. I think it's perfectly normal.

Share this post


Link to post
Share on other sites
evscicats    14
evscicats

Did you notice that there are two different Sections folders in the zip file?  If you just install just the second DMS folder, you don't get all the sections.

Share this post


Link to post
Share on other sites
rickm901    0
rickm901
I will doublecheck this is soon as I get home in front of my computer, but I believe all the sections are there once you run the update. If you install the updater plug-in, then the update will automatically install all the new sections.

Share this post


Link to post
Share on other sites
evscicats    14
evscicats

I'm learning this stuff just as many of you are, so I'm not an expert but learning everyday... so here are some things I have noticed that may help... maybe?

 

When I look at the contents of the 2 Sections folders, the first section folder looks to contain the new sections for DMS2 and the second section folder has all the sections from DMS 1.  

 

The changelog.txt file in the second DMS folder has v.1.1.4 release notes.  

 

I wonder if DMS 1 and 2 are fighting each other!

Share this post


Link to post
Share on other sites

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • bnapoli
      By bnapoli+
      On my site www.modishmel.com I'm seeing the "blog post title" within the "pins" plugin section breaking words into multiple lines. See screenshot attached.
      Only seeing it in Firefox. Can you help?

    • BentleyD
      By BentleyD+
      Hi Everyone,
       
      I am running into an issue with the DMS Professional Tools Plugin. When active I get this error:
       
      Notice: Use of undefined constant CORE_VERSION - assumed 'CORE_VERSION' in /home/ktyner44/public_html/wp-content/plugins/dms-plugin-pro/libs/class.hacks.php on line 53
       
      Please help if you can. Thank you in advance.
       
      Bentley
    • Jeremiah
      By Jeremiah+
      Error: editing.js?ver=930684:5 Uncaught TypeError: Cannot read property 'getData' of undefined
      I have all of the plugins disabled and I still receive the error.
      Page Editor will not load on page.
       
    • jamieg270
      By jamieg270+
      My client has just flagged up a problem with the Pinterest share button. When they click it on any of theor blog entries Pinterest comes back with the following error:
      Parameter 'image_url' (value http:) is not a valid URL format.
      I've checked this myself and it does indeed happen. The post has a featured image, these are using standard Pagelines DMS sections and the the site is totally up to date.
      The page is here: http://www.technicasolutions.co.uk/5-questions-to-ask-your-prospective-new-it-support-company/
      Any help on this is greatly appreciated.

×