Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Jan 25, 2012 2:44 pm Reply with quote

I moved with my site to a new host and from PHP 5 to PHP 5.2
Everything went fine but the blog had an error.

Parse error: syntax error, unexpected T_VARIABLE in modules/RWS_WhoIsWhere/index.php on line 1

Well, line 1 contains only the opening PHP Tag.

I have solved this using the short PHP Tag on line 1 instead.

But I really still wonder, why there are a issues with this block and not with the rest of the site and the other blocks when the php.ini settings are different to my previous host.
Anyway, is there any problem using only
Code:
<?

in the block-RWW_WhoIsWhere ?
 
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Jan 25, 2012 4:07 pm Reply with quote

Not sure why that would be, but I think it is time for an upgrade if you are still using modules/RWS_WhoIsWhere as that was eliminated in 2.4 Wink

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Susann
PostPosted: Wed Jan 25, 2012 6:12 pm Reply with quote

Maybe it `s also because the block and site was down for around 20 hours. Strange behavior but its solved. I like this block on my site and I will upgrade there only in places because of many changes and modifactions over the last years.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©