Jump to content

rajeevk

Members
  • Content count

    24
  • Joined

  • Last visited

1 Follower

Profile Information

  1. rajeevk

    [contribution] Simple Template System (sts)

    I read through as many posts on this topic as I could and still didn't find an answer: When I use $content in template page it does not display anything. Looking at the source code, not code for the content section was inserted. Has anyone had this problem? Thanks
  2. rajeevk

    [contribution] Simple Template System (sts)

    I finally found why only the default template was displaying. The problem lies in the contribution by Alejandro Rodriguez on 2 Apr 2004. The $scriptbasename is not set, so it thinks that there are no templates in the /includes/sts_templates directory.
  3. rajeevk

    [contribution] Simple Template System (sts)

    I accidentally created a new topic for my STS question. I am posting it here again: ___________________________________________________________ Hi, I just installed STS on my local PC, and I don't seem to be able to override pages by putting the template on the /includes/sts_templates directory. All the pages display the default template sts_template.html, even though I have a template defined in the includes/sts_templates directory. Has anyone else had this problem. I am thinking there is just a small setting that I need to change (its not the setting on sts_display_output.php . I already tried it). I have a very tight deadline. Your help would be much appreciated.
  4. Hi, I just installed STS on my local PC, and I don't seem to be able to override pages by putting the template on the /includes/sts_templates directory. All the pages display the default template sts_template.html, even though I have a template defined in the includes/sts_templates directory. Has anyone else had this problem. I am thinking there is just a small setting that I need to change (its not the setting on sts_display_output.php . I already tried it). I have a very tight deadline. Your help would be much appreciated.
  5. I changed the security on the folder to 777, and now I can see the image. However, when I hit the refresh button, the "Human Confirmation" box is not presented. Any idea why?
  6. I have check the install details and everything is correct! Is this possibly a problem with my server config? If anyone can help...I would be grateful. Thanks in advance. Try changing the function imagecreate() to @imagecreate(). That should fix it. Good luck! Please let us know if this solution worked for you.
  7. I installed this contribution on my test page and I am not having any luck. I have rechecked all the code changes, and it is consistent with the instructions. I changed the permissions on the image folder to 775, and I still keep getting the error message: Warning: imagejpeg(): Unable to open 'images/number_pics/_confirmpic807540.jpg' for writing in /home/admin/domains/phulbari.com/public_html/includes/human_confirmation.php on line 68 Has anyone seen this problem? I also noticed that if I refresh the page, the human confirmation box is not presented. Why is this? Please help! Rajeev
×