Jump to content

XTPL.php error. Need Help


Recommended Posts

Guest GToucher
Posted

Hi

CC 3.0.12

http://www.sotechsystems.com/store

Something happened with my xtpl.php file ( I did not modify it...)

Trying to enter store and get: Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/XXXX/public_html/store/classes/xtpl.php on line 381

Here is my 381 line: $file_text = fread($fh,filesize($file));

I was checking my backups- there is same code in this line...

Please help :o

P.S. Just in case I attach my current xtpl.php

xtpl.php

Guest GToucher
Posted

Thank you!!!

I reuploaded index.tpl and everything fine now.

Again, thank you!

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.

×
×
  • Create New...