Jump to content

Recommended Posts

Hi,

 

I have recently created a website in PHP that allows people to advertise and view properties for sale. I got the software working perfectly on my computer at home. The next step was to put it on the internet by simply uploading the files onto a real web server.

 

To begin with I went for a cheap shared apache/linux server package using webfusion.co.uk, but had to upgrade to a VPS solution as the GD2 graphics library for PHP was not supported.

 

However, I have encountered 2 problems that I cannot work out the solution for with this new VPS package:

 

1.) Session variables are not being remembered between pages: I.e a session variable gets set to a certain value on one page, but then when I go to the next page it is not remembered/gets reset back to a null/empty value.

 

 

2.) The catch it security image on the signup page is generating an error where it says the font cannot be found/opened, but I have uploaded the font file (arial.ttf) to the specified location on the server.

 

 

 

Neither of things are a problem on my local build at home, and problem 1.) was not a problem on the cheaper shared server package that i started off using to begin with. My best guess is that I need to configure the session variable settings or permissiions somehow.

I can get the phpinfo page to show and I am sure this would be of help if I could decipher what it means!

 

The new package I am using uses a plesk control panel and I simply copied the files from my computer at home into the httpdocs folder on the live server.

 

Any help would be much appreciated. I am almost sure there is a blatantly obvious solution to these problems that I am manging to overlook somehow! Thankyou,

 

Tim

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/73197-vps-linux-apache-webfusioncouk/
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.