I got a theme installed and it works just fine, except when i try to see a product, every time I get this error that you can see here http://bit.ly/2dqrlIh My knowledge in PHP are minimum and I don't really know what am I looking for in the phtml file

Thanks in advance for any help you can give me.

  • please post the code of your phtml file – Raphael at Digital Pianism Oct 3 '16 at 15:53
  • it is too long so I posted a link to the download – juan Oct 3 '16 at 16:52
  • If you rename the filehttp://www.sensacionhogar.com/downloads/media.phtml to http://www.sensacionhogar.com/downloads/media.phtml.txt we should be able to fix the error. – Luke Rodgers Oct 3 '16 at 17:02
  • done that is a copy of the original file – juan Oct 3 '16 at 17:58

There's no closing brace for the if-statement on line 81: if($total_images > 0) { This should probably be inserted after line 95: <?php } ?>

  • you my friend, you are boss. I broke my head adding and removing code all over the file and couln't figure out. Thanks a freaking lot. – juan Oct 3 '16 at 19:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.