Jump to content

Recommended Posts

Hello,

 

A friend of me have made a homepage we have used for some years for private interest.
I have now upgraded the server from freebsd to ubuntu and imported the mysql dump and php/html code,

but the site is a mess.... I`m feeling its something basic who are wrong?

 

EDIT: URL OMMITED BY MODERATOR

 

Please take a look. and your input / respons are much appreciated, because I don`t understand what is wrong here....

Edited by Ch0cu3r
Link to comment
https://forums.phpfreaks.com/topic/299389-what-is-wrong/
Share on other sites

The code uses short PHP tags (<? ?>), these will only work if you have enabled a setting called  short_open_tags  in the php.ini

 

If you do not have access to the php.ini then I suggest you to convert the <? tags to <?php tags.

 

NOTE I have removed your sites url from your post as as I was able to read the contents of your constants.php file containing your db credentials.

Edited by Ch0cu3r
Link to comment
https://forums.phpfreaks.com/topic/299389-what-is-wrong/#findComment-1526019
Share on other sites

The code uses short PHP tags (<? ?>), these will only work if you have enabled a setting called  short_open_tags  in the php.ini

 

If you do not have access to the php.ini then I suggest you to convert the <? tags to <?php tags.

 

NOTE I have removed your sites url from your post as as I was able to read the contents of your constants.php file containing your db credentials.

 

Thank you,

I have now updated php.ini with short_open_tag = On and restarted apache2, but the page looks identical for me...?

 

http://tippelaget.dynamitt.net

Link to comment
https://forums.phpfreaks.com/topic/299389-what-is-wrong/#findComment-1526021
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.