Jump to content

Archived

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

loulousantaana

pagelines-customize plugin: how do I delete data?

Recommended Posts

loulousantaana    0
loulousantaana

[attachment=1628:pagelines-customize.errors.txt]

I've been using the pagelines-customize plugin to tweak some elements of WooCommerce. Whatever I last did broke the site, everything backend and front disappeared. I disabled all plugins and have restored them one by one. The site breaks when I restore the pagelines-customize plugin.

 

How do I find the data to delete the code I added to the plugin so I can try again?

 

Website URL: stark.santaana.co.uk
Framework Version: 2.4.1
WordPress Version: 3.6.1
Plugins in Use: 
Pagelines Googlefonts, Sexy Snips, Sections, Simple CSS lite
Post Types Order
WooCommerce, custom product tabs lite, menu cart
Server/Host: 34sp.com
 
I've attached the log file from when I tried to re-enable the pagelines-customize plugin, in case that's of any use. (My sysadmin has censored it but I'm sure you can see the relevant bits.)
 
Thanks,
 
Louise

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi Louise,

 

I notice you have Framework 2.4.1.  You should update to 2.4.4 by getting the zip at http://www.pagelines.com/launchpad, or by the automated updater in WP.

 

It's very likely you have some custom hook or CSS in PageLines Customize.  Go to Dashboard > Plugins > Editor.   You'll see a drop down list near the top of the window, on the right. It will be a list of all your plugins.  Select PageLines Customize and go.

 

There will be several files listed on the right side of the edit area.  One is Functions.php.  Open that and scroll down to find any hooks previously added.

 

All the errors seem to come from functions.php in the Customize plugin.

 

Those are the areas where things are usually located.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
loulousantaana    0
loulousantaana

Hi Rob

 

Thanks for your response. 

 

I can't restore the Customize plugin without it breaking the site. If I could restore it and remove the custom code then I would, but as soon as I re-install the plugin my WP admin disappears completely.

 

I was hoping I could access the database and delete the code I've added to the Customize plugin, so that at least I can use the earlier things that worked and find an alternative way to make the changes I was hoping for.

 

(I'll update Framework. Thanks for noticing that.)

 

Cheers,

Louise

Share this post


Link to post
Share on other sites
Rob    547
Rob

Louise,

 

When you're removing the plugin, are you just deactivating via Dashboard > Plugins > Installed Plugins, or are you using FTP or a file manager to delete it?

 

I've not heard of that plugin, which as been used by thousands, causing the problem you're describing unless they were just deleting it, without deactivation first.

 

The PageLines Customize plugin doesn't write to the database.  It stores information in the actual files in the plugin.

 

If you look at the first line of that errors file you kindly attached, it's saying there's a syntax error, with an errant < somewhere in the functions.php. So, maybe it's a good idea to open the functions.php in the editor and inspect for an extra or missing <.  It will be in the customized code, not in the normal code.

 

Let me know how you get on with this.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
loulousantaana    0
loulousantaana

Hi Rob

 

I've used this plugin on three other sites so I know it's usually fine. When I added the custom code (copied from a WooCommerce forum) and saved the customize plugin, that's when everything broke. I had no access to WP through the admin panel whatsoever, so had no choice but to remove the plugin via FTP. I removed all the plugins via FTP and then restored them one by one.

 

As you suggested, I opened the php file outside of WP, tracked down the errant < and restored the plugin via FTP. It's working just fine now. 

 

I really appreciate your help.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Thanks for informing us that the issue has been resolved.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • tuciudadenred
      By tuciudadenred+
       
      I have problems with the scroll, someone who can help me?
      Video_1487265541.wmv
    • reklov79
      By reklov79+
      Hi,
      Meganav seems to have a bug if you upload a Logo with a higher resolution (which actually is useful as it looks then sharper on mobile phones). But on mobile the Logo is then larger than on a desktop. Problem is the following code in the meganav style.css. Simply the "height: auto !important" needs to be removed.
      @media (max-width: 480px) { style.css?ver=5.0.14:133 body .meganav-logo img{ height: auto !important; } } But how to achieve that? What is the standard method for customizing that? Overriding via CSS / LESS doesn't work - in this case especially because of the !important derictive used in the original CSS I believe.
      Changing the original CSS is something I don't want to do as it leads into issues when upgrading.
      Btw: I seem not to be the only one with that issue - anyhow, the solution here (not displaying the Logo on mobile) is not acceptable for me.
      Thanks,
      Volker
       
    • Queue-it
      By Queue-it+
      Hi,
      After the latest update of platform 5 and other Pl plugins the forms stopped working. Do you have an idea what could be the problem for that?
      https://www1.test.queue-it.com/pricing/
       
    • dougalperman
      By dougalperman+
      Hi there,
      I'm a big fan of Pagelines, and have been for years.
      I'm trying to control the size of video embeds and having some difficulty. I see that I can just paste the Vimeo video URL into the post and an embed widget will automatically appear, which is great. But the embed box created is much taller that the video (689 x 1000 pixels) so the content sits in the middle of a tall black box, which looks awkward.
      I tried using the full iFrame embed code from Vimeo, which solved the disproportionate embed frame size (or aspect ratio) issue, but despite specifying the dimensions I want (690 x 388), the videos displayed on the post are sized at 300 x 150 pixels.
      I can't work out how to change either.
      I'm using the latest version of Pagelines Framework (Pro) with the Agency them.
      Any help or advice very much appreciated.
      Thanks,
      Dougal
    • nandorj78
      By nandorj78+
      This discussion has appeared today on the Facebook User Group and we decided to have a vote to know what the users judge more important.
      Let me know which questions you want me to add to the poll.
×