eZ Community » Forums » eZ Publish 5 Platform » fresh ezp5 install with ezdemo, some...
expandshrink

fresh ezp5 install with ezdemo, some pages working, others missing all styling

fresh ezp5 install with ezdemo, some pages working, others missing all styling

Thursday 09 May 2013 11:12:51 am - 7 replies

Hi I just instlled the latest eZP5 from github. Everything is up and running, but in the frontend some pages do load with CSS and all, and others don't:

These Pages are working fine:

  • example.com/content/view/tagcloud/2
  • example.com/content/view/sitemap/2
  • example.com/user/edit
  • example.com/content/keyword/cxm

These are missing all styling:

  • example.com/ (Homepage)
  • example.com/About
  • example.com/Shopping
  • example.com/Shopping/Services/eZ-Publish-Enterprise-Service
  • example.com/Blog/It-s-helping-me-Optimize-my-Business

All folders below /var/www/ezpublish-community/ezpublish_legacy/var, design, extensions, settings are 777, same goes for /var/www/ezpublish-community/ezpublish/cache/ configs log

Cleared cache, also from command line, disabled/re-enabled ezdemo... Nothing.
Any idea what's wrong? 

Thursday 09 May 2013 11:55:10 am

Hi. Did you add any custom FieldTypes (or datatypes as they were called in eZP4.x) to your failing ContentTypes? There's a notice about that here, and if that's indeed the problem, you need to have a look at how to handle those FieldTypes.

Your problem looks different, however, but you never know. The working URLs are all module URLs, and the failing ones are all slugs.

Thursday 09 May 2013 12:27:17 pm

Thanks, Hein!

Slugs seem to be the problem: example.com/content/view/full/2 displays the homepage correctly, same with frontend editing at example.com/content/edit/56/2/eng-GB. 

So do you think it's a rewrite issue? Never had this before with ezp 4.x on the same server.

Thursday 09 May 2013 12:40:19 pm

How is your matching set up in ezpublish.yml? match: URIElement: '1'?

Do you have any rogue routes defined?

Thursday 09 May 2013 3:25:25 pm

If the problem is just styling then, maybe, you forgot to execute assetic:dump?

Check out "Link Assets" here:

https://confluence.ez.no/pages/viewpage.action?pageId=7438581

Thursday 09 May 2013 3:30:05 pm

In addition to the assetic:dump, also check out the rewrite rules page again, it was missing 5.1 / 2013.4 / git version info for some days because of a mistake in confluence use regarding versions.

Monday 30 September 2013 7:05:59 pm

change    

SetEnv ENVIRONMENT "dev"

to

SetEnv ENVIRONMENT "prod"

in vhost works f m

Tuesday 01 October 2013 11:44:11 pm

You may want to run ezpublish_legacy/bin/php/updateniceurls.php

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from