Jump to content

Everything Is Blank


countrywesterndj

Recommended Posts

I modified a template in /templates/orderforms/default .. and now everything comes up blank.

 

I can get in the the Admin area and that works OK, but orders / support / knowledge base / etc. is all blank.

 

I tried adding .. ?display_error=on .. to the URL .. but it didn't show anything. I have register globals on ..

 

What happened? I put back the original template and that didn't work.

 

I have version 2.5.8

Link to comment
Share on other sites

CHMOD the templates_c folder that should fix your issue CHMOD it to 777 and if that dont work try 666... let me know

 

After replacing the original templates, make sure you delete all the files in the templates_c folder.

 

NOTE: DO NOT CHMOD A FOLDER OR FILE 777 if you have the ability to change the ownership of fhe files/folders to apache or nobody instead.

Link to comment
Share on other sites

And 777 will also cause problems with PHPSuExec.

 

It's going to be a problem with the code for your modified template (the blank pages). And like he said, once you replaced the original ones, you need to delete everything from templates_c.

Link to comment
Share on other sites

And 777 will also cause problems with PHPSuExec.

 

It's going to be a problem with the code for your modified template (the blank pages). And like he said, once you replaced the original ones, you need to delete everything from templates_c.

 

eh, 95% of people dont run it, so i dont worry about it. =P

 

Plus read/write shouldnt be even an issue if its using that. I put my templates_c directory under /home/USERNAME/ as well, to add a little more complexity to things.

Link to comment
Share on other sites

I do use PHPsuEXEC ..

 

I did a:

chown -R dee.dee templates_c

chmod 755 templates_c

chmod 644 *.tpl

 

also did it on the /template/ folder.

 

Still everything displays blank pages.

 

I'm still not understanding what happened .. what I did was:

1- Modify /templates/orderforms/default/order-stepone.tpl

2- Delete all files in /templates_c/

 

And then every page went to blank ..

Link to comment
Share on other sites

Hey,

 

Here is a part of what is in my FAQ for my site.

 

To add complexity to the issue, PHPsuexec, also validates the directories in which PHP files are located. A PHP file cannot be execute in a directory that is group-writable or world-writable. However, in order to access a directory, it must be world-executable, which is safe to do. As such, directories containing PHP files should have permissions 0755 or 0555.

 

From,

Adam

Link to comment
Share on other sites

This is from a ticket that Matt had on mine when i had this issue

 

"Hi Will,

 

Check that you have the templates_c folder CHMOD to 777 so the templates can be cached to improve page loading performance.

 

Regards,

 

Matt"

 

This did fix my issue. And YES CHMOD 777 WORKS

Link to comment
Share on other sites

Well I feel so stupid .. but I fixed it ..

 

Checked all the server logs and everything looked OK ..

 

But wasn't receiving e-mails .. checked that log and I had run out of disk space on that account ..

 

Inceased the allotment on that account and WHMCS worked again.

 

Thank you everybody for the input, I really appreciate it.

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