LemonStand Forum: Partials not found after Twig update - LemonStand Forum

Jump to content

Severity 0 - None Assigned Status Unconfirmed
Version - Fixed in -

Page 1 of 1
  • Cannot start a new Issue
  • You cannot reply to this issue

Report ID #156: Partials not found after Twig update

#1 User is offline  
activeholdingco 

  • LemonGroupy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 187
  • Joined: 23-September 10

Posted 23 February 2012 - 03:58 PM

It says:

Partial file not found
The partial file shop;checkout_items.htm cannot be found. Please select action from the list below:


However my partial does exist, and my cms settings are set to ".php" files. So it is looking for an .htm file that does not exist.

Reduplicate:

I added a file based shop;checkout_items.php and clicked on the partial tab.


Page 1 of 1  
  • Cannot start a new Issue
  • You cannot reply to this issue

Replies (1 - 5)

#2 User is offline  
activeholdingco 

  • LemonGroupy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 187
  • Joined: 23-September 10

Posted 23 February 2012 - 04:05 PM

Theres actually a lot more errors when using file based templates after the twig update. Im also getting duplicated partials in my partial list.

http://imgur.com/f7Rlp

#3 User is offline  
activeholdingco 

  • LemonGroupy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 187
  • Joined: 23-September 10

Posted 23 February 2012 - 04:23 PM

It would appear the issue is caused by it looking for a partial at the .htm extension and instead inserts a partial on every single page request when using file based templates.

#4 User is offline  
Manca 

  • Developer
  • Group: +Administrators
  • Posts: 252
  • Joined: 02-September 11

Posted 08 March 2012 - 04:46 PM

Updating status to: Unconfirmed

Hi,

Sorry for the delayed response. Is this still an issue? I tried replicating it but wasn't able to. Can you provide more info? Is it doing this for existing partials or when adding new partials?

Thank you

#5 User is offline  
activeholdingco 

  • LemonGroupy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 187
  • Joined: 23-September 10

Posted 05 April 2012 - 08:49 PM

Just installed a new version of lemonstand, setup the theming, imported an old theme. Then I created a new file in /themes/themename/partials/site;breadcrumb.php. Later went to admin and saw hundreds of entries, see below. It is still an issue.

Posted Image

#6 User is offline  
activeholdingco 

  • LemonGroupy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 187
  • Joined: 23-September 10

Posted 05 April 2012 - 08:50 PM

Clicking on of them it says:

The partial file site;breadcrumb.htm	 cannot be found. Please select action from the list below:


As I mentioned before it is looking for .htm files for some reason. My settings are set to .php.


Page 1 of 1
  • Cannot start a new Issue
  • You cannot reply to this issue

1 User(s) are reading this issue
1 Guests and 0 Anonymous Users