470,866 Members | 1,922 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,866 developers. It's quick & easy.

reload isn't reloading

Still getting the same issue i submitted a couple of days ago. I can use
PuTTY to edit files in-place, on production server, and when I refresh
the page the changes won't have any effect.

I have made sure the templates_c (smarty) is 777; httpd runs as "nobody"
so i made chgrp'd the whole htdocs directory to "nobody". i even
reinstalled Apache/MySQL/PHP. where should I start looking?
Mar 29 '06 #1
5 1217
one file i can successfully edit is called t.php. I make a change,
reload, and all is well. It's mostly my index.php file, and it's erratic.

If I put an "exit" in there, sometimes it will exit. Then I'll comment
out "exit" and that change will not take effect. In this wget'ing the
index.php returns "ERROR -1: No data received"

I changed permissions on index.php (664) to match t.php. No improvement.
Mar 29 '06 #2
Matt wrote:
one file i can successfully edit is called t.php. I make a change,
reload, and all is well. It's mostly my index.php file, and it's erratic.

If I put an "exit" in there, sometimes it will exit. Then I'll comment
out "exit" and that change will not take effect. In this wget'ing the
index.php returns "ERROR -1: No data received"

I changed permissions on index.php (664) to match t.php. No improvement.


Maybe it's coming from your cache?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 29 '06 #3
Make sure caching is disabled in smarty, and like the previous poster
said, make sure it's not your browser. You can download the Web
Developer extension for Firefox, which has the option to disable
caching. And maybe outputting some data that MUST be new (like the
current time) will help ferret out the problem. Best of luck.

Mar 30 '06 #4
smarty caching disabled
developer tools disabled "Cache"

t.php still updates fine, reloads changes correctly, does everything
right in realtime.
so does every other file in the site when accessed directly

index.php doesn't return any data, i.e.
if I'm viewing t.php (test page), and change the URL to request
index.php, nothing onscreen changes. i'm still looking at t.php, even
though the address bar indicates index.php
Apr 1 '06 #5
What are your template filenames for t.php and index.php?

Matt wrote:
smarty caching disabled
developer tools disabled "Cache"

t.php still updates fine, reloads changes correctly, does everything
right in realtime.
so does every other file in the site when accessed directly

index.php doesn't return any data, i.e.
if I'm viewing t.php (test page), and change the URL to request
index.php, nothing onscreen changes. i'm still looking at t.php, even
though the address bar indicates index.php


Apr 5 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Q | last post: by
66 posts views Thread by Ellinghaus, Lance | last post: by
4 posts views Thread by David MacQuigg | last post: by
5 posts views Thread by Kamilche | last post: by
19 posts views Thread by Darren | last post: by
3 posts views Thread by John Salerno | last post: by
3 posts views Thread by =?ISO-8859-1?Q?Gregory_Pi=F1ero?= | last post: by
7 posts views Thread by Schmidty | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.