Jump to content

Invoice Template Inconsistency Issues


AlexBroz

Recommended Posts

Hi WHMCS Community,

 

Recently I have changed the invoice pdf template file for my server. When I did this, I ensured that I cleared the template cache, and ensured that the correct template in general settings is selected; all was working. A week or so later i have been noticing only occasionally, some invoices (new and old) are using the old template. This can be fixed by re-clearing the cache and re-saving general settings, or adding the '&systpl=xxx'. This is strange because the template field under general settings has not been changed. Why does it sometimes pull from the wrong template file?

 

Also note: I could not locate the templates_c folder on the server.

 

Thanks in advance

Link to comment
Share on other sites

Hi ChrisD,

 

Thanks for the fast reply, and yes I am using a customized theme.

The same issue is actually with both template. We can also rule out browser cache as it is multiple happening on multiple machines.

I checked the location of the templates_c folder in the confiuration.php file and it says it should be on my route WHMCS directory. Is it not there. Does this mean it has been deleted?

Link to comment
Share on other sites

Hi ChrisD,

 

Thanks for the fast reply, and yes I am using a customized theme.

The same issue is actually with both template. We can also rule out browser cache as it is multiple happening on multiple machines.

I checked the location of the templates_c folder in the confiuration.php file and it says it should be on my route WHMCS directory. Is it not there. Does this mean it has been deleted?

 

hmm, please recreate your Templates_c folder as it sounds like its been deleted.

I haven't seen this issue before so readding the templates_c may help

Link to comment
Share on other sites

I don't really see how this could help but I will try regardless and ill post back here if the issue persists. Thanks for the help.

 

There are a number of files cached into Templates_C when they are not present, it recreates them, however with the folder not being present it will be causing a error that the server would be getting back

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated