Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Changed Hosting Errors

Asked Modified Viewed 1,108 times
E
eldos2
E
eldos2 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi
I have changed my cycling club web site and the new host transferred my whole site across using a cpanel to cpanel transfer.
All bar one of the sites worked. The one that hasn't is the one that I am using an sql database with php fusion.
I did not set up this database and am a little out of my depth. I currently can not contact the guy who did (should be able to talk to him soon)

When the site opens I get a page full of character a small part of this is shown below:

"=".time()."wink"wink; if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0; if ($rows != 0) { $result = dbquery( "SELECT tn.*, tc.*, user_id, user_name FROM ".$db_prefix."news tn LEFT JOIN ".$db_prefix."users tu ON tn.news_name=tu.user_id LEFT JOIN ".$db_prefix."news_cats tc ON tn.news_cat=tc.news_cat_id WHERE ".groupaccess('news_visibility'wink." AND (news_start='0'||news_start<=".time()."wink AND (news_end='0'||news_end>=".time()."wink ORDER BY news_sticky DESC, news_datestamp DESC LIMIT $rowstart,$items_per_page" ); $numrows = dbrows($result); if ($settings['news_style'] == "1"wink $nrows = round((dbrows($result) - 1) / 2);"

Can anyone shed some light on this for me?

Thanks
Dave
0 replies

7 posts

K
krispy_b
K
Webmaster of THREE PHP Fusion driven community sites;
Lord of the Rings Online, Jumpgate Evolution Fansite, & Da Orcs Ead - Warhammer Online fansite
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

Have you got the url where this is happening?

You're seeing the PHP code itself looking at your snippet posted here - which you really should NOT be seeing. Are you sure your new web host supports PHP? Did this happen on the first page you try to open?
0 replies
E
eldos2
E
eldos2 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Yeah my host says they support php4 + php5.
Both the sites (old and new) are using PHP version 4.4.7.

Please remember when I ask these questions I know very little about some of this stuff :)
Someone said there could be a problem with the connections to the database. I was not sure what they meant. Does this mean anything?
Edited by eldos2 on 24-02-2008 08:05,
0 replies
E
eldos2
E
eldos2 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

This is happening at www.dirtdevilsmtb.com
See for yourself
0 replies
E
eldos2
E
eldos2 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

In regard to this matter it appears that the transfer of the site was not very successful.
Could someone please tell me how I am best to go about moving my fusion based site to another host?
I still have cpanel access to the old host.

Can someone shine some light?
Thx
0 replies
D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

try re-uploading maincore.php and subheader.php
0 replies
S
Sheldon
S
Sheldon King
Technical Administrator
IT Solutions Provider
  • Senior Member, joined since
  • Contributed 616 posts on the community forums.
  • Started 74 threads in the forums
answered
Senior Member

the server does not support PHP.

either that or you uploaded corrupt files. make sure they were uploaded in ascii format and not binary

Contact your webhost.
Edited by Sheldon on 24-02-2008 21:29,
0 replies
E
eldos2
E
eldos2 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

All good now.
Appears the following:

'You disabled PHP by adding this into your public_html dir -

php_flag engine off
AddHandler application/x-httpd-php .php .php4 .php3'

This was not my doing.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet