Archived

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

  • 0

Resolved Pagelines Not Working Locally Using Mamp

Question

Posted · Report post

I just found out about PL and downloaded the lite version to trial before getting the developers version but it doesn't seem to load the css.

All text is aligned left in Times font with no images except the PL logo.

I'm using MAMP pro to develop locally, never had a problem with a theme before so this is a mystery

When I click 'Customize' the theme in wordpress it tells me 'Sorry preview is disabled, enable PageLines Framework'

I used a clean install of WP with no plugins

Any ideas, am I being stupid and missing something basic?

Share this post


Link to post
Share on other sites

16 answers to this question

Posted · Report post

My MAMP IS configured exactly as it sets out in that page. I tried deleting it and setting it up again and also tried another mac but they both show the same thing.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

Preview does not work with PageLines Framework as it is not possible to load the Compiled CSS.

To resolve your CSS issue can you add the following code to your wp-config.php please.

define( 'PL_NO_DYNAMIC_URL', true )[/CODE]

Share this post


Link to post
Share on other sites

Posted · Report post

I added it to the wp-config.php but I still get this

I have 4 sites I'm working on with 3 themes that all work fine except this one

Share this post


Link to post
Share on other sites

Posted · Report post

pagelines.jpg

Share this post


Link to post
Share on other sites

Posted · Report post

I get a huge list of text that starts like this...

html,

body,

div,

span,

applet,

object,

iframe,

h1,

h2,

h3,

h4,

h5,

h6,

p,

blockquote,

pre,

a,

abbr,

acronym,

address,

big,

cite,

code,

del,

dfn,

em,

Share this post


Link to post
Share on other sites

Posted · Report post

OK, go into pagelines settings, go to advanced, and enable debug. Then visit that url again and copy/paste to http://paste.pagelines.com also vew-source of your page and paste that too.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

I have about 50 installations of PageLines lite and Dev working on MAMP locally for testing purposes. Therefore, can you provide a list of your settings and version of MAMP. When we have this information, we will be able to assist you further.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Danny, I'm using MAMP PRO 2.1.1

I've only just started using MAMP so I'm not sure what you need to know

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, I don't get the option in 'Advanced' to enable dubug.

Have pasted the source code and jpg of site in Firefox

Share this post


Link to post
Share on other sites

Posted · Report post

Oh right, well paste the whole of that css url anyway, i want to see if all the css is being made.

Share this post


Link to post
Share on other sites

Posted · Report post

I just pasted the one I think you're after, not exactly sure how to access the css url

Share this post


Link to post
Share on other sites

Posted · Report post

Yea its not a complete file by the looks of it.

MAMP has a default of 32M of memory, and its probably maxing out.

Things to try:

1. Make sure you have php 5.4 selected, it uses way les memory.

2. edit the config file: http://screencast.com/t/rXSTJ0JP line 233, change the memory limit to 64 or 128 then restart MAMP

Share this post


Link to post
Share on other sites

Posted · Report post

BRILLIANT!!! Thank you Simon its all working perfectly, I'll buy the developers package now :-)

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites