Find Jobs
Hire Freelancers

Fatal error: Call to undefined function session_register() - repost

£10-20 GBP

Cancelled
Posted over 10 years ago

£10-20 GBP

Paid on delivery
Have placed website with another host and placed all correct usernames and passwords in correctly but cannot connect to datababse and get following error: Fatal error: Call to undefined function session_register() The old SQL datababse was running PHP 3.5.8.1 and new version is 4.08 with new hosting provider Please see following file that has problem <? Error_Reporting(E_ALL & ~E_NOTICE); unset($l); session_start(); session_register($l); include ("includes/[login to view URL]"); include ("[login to view URL]"); include ("includes/[login to view URL]"); // CHECK AND UPDATE TRAFFIC STATS $date=date("d/m/y"); $user_ip_address = $HTTP_SERVER_VARS["REMOTE_ADDR"]; /*Fetch the user's IP Address */ $traffic_stats=mysql_fetch_array(mysql_query("select * from jsgamingcenter_traffic WHERE date='$date'", $casdb)); if ($traffic_stats[1]!=$date){ mysql_query("INSERT INTO `jsgamingcenter_traffic` VALUES('', '$date', '0', '0')", $casdb); } $tuserip=mysql_fetch_array(mysql_query("select * from jsgamingcenter_users WHERE ip_reg='$user_ip_address'", $casdb)); if ($tuserip[ip_reg]==$user_ip_address){ mysql_query("UPDATE jsgamingcenter_traffic set visitors_re=visitors_re+'1' where date='$date'", $casdb); } if ($tuserip[ip_reg]!=$user_ip_address){ mysql_query("UPDATE jsgamingcenter_traffic set visitors_new=visitors_new+'1' where date='$date'", $casdb); } /*********************************************************************** Check if user is logged on and display the appropriate page ************************************************************************/ if($page=="" or $page==" "){ header("Location: [login to view URL]"); } if($page!="" && $page!=" "){ if(!isset($l)){ include ("templates/template_$[login to view URL]"); } else{ include ("templates/template_$[login to view URL]"); } } ?>
Project ID: 5199748

About the project

24 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
24 freelancers are bidding on average £23 GBP for this job
User Avatar
Hi, I am ready to fix the problem for you, but I'll need ftp access. I welcome the opportunity to work with you on this exciting project. I am confident that I can make a valuable contribution to this undertaking. I will be pleased to address any of your questions or concerns; contact me if there is anything I can help with before accepting my bid.
£22 GBP in 1 day
5.0 (197 reviews)
7.7
7.7
User Avatar
A proposal has not yet been provided
£19 GBP in 1 day
5.0 (594 reviews)
7.6
7.6
User Avatar
I can fix this session register problem on your new hosting server. I will complete this work in next few hours. I will be available online from 1 am UTC/GMT to 5 pm UTC/GMT, fulltime individual freelancer. Looking for your reply to start the work immediately.
£12 GBP in 1 day
5.0 (643 reviews)
7.5
7.5
User Avatar
Hi, Your problem is not in the database, it is related to a deprecated function between your old server and the new one, I can fix it in no time for you. Regards, mb
£22 GBP in 1 day
5.0 (52 reviews)
6.7
6.7
User Avatar
Hello there! It's probably 5.4 not 4.x, the php I mean. The session_register was remnoved from php following 5.4 version. Anyway, this is fixable, though i probably affects more than just this single file. Kind Regards, Dobri
£30 GBP in 1 day
4.9 (298 reviews)
6.7
6.7
User Avatar
let me fixed it for you. I am interested and ready to start working on it now. Kindly accept my bid and setup the milestone. Thanks
£22 GBP in 1 day
4.9 (181 reviews)
6.5
6.5
User Avatar
I have developed as well as troubleshooted many PHP applications before. Let me solve this issue for you. Regards
£11 GBP in 1 day
5.0 (134 reviews)
6.2
6.2
User Avatar
Sounds like the same project as posted yesterday . I will help you fix the issue today . Thanks, akiles
£23 GBP in 1 day
4.9 (128 reviews)
5.9
5.9
User Avatar
php mysql expert here with 2years of experience in web development. I am available now and ready to do this for you. lets do it
£11 GBP in 1 day
4.9 (99 reviews)
5.7
5.7
User Avatar
Dear alltech2013, I have four and half years of professional experience in designing, developing scripts and integrating scripts in php and mysql. I have gone through your description. I am ready to start right now. Please check reviews to know about my quality of work and dedication. most of the time i will be available to communicate through skype Looking forward for your response... I hope soon we will start this project and complete it successfully. Regards, sri
£12 GBP in 0 day
4.8 (83 reviews)
5.6
5.6
User Avatar
Hi, We are ready to work. Can we discuss project now? Please have a look on our feedback also Thanks
£20 GBP in 3 days
4.8 (72 reviews)
5.5
5.5
User Avatar
I know how to fix it. I will do it properly and will not require any payment until it is 100% done. Thank you.
£22 GBP in 1 day
5.0 (43 reviews)
5.4
5.4
User Avatar
Hello alltech2013, I have gone through your outsourced requirement "Fatal error: Call to undefined function session_register() - repost" and have analyzed that I have right credentials (MySQL, PHP) to execute your esteemed project. ===== Why choose me? ===== ✓ 5.0 / 5.0 rating, ✓ 100% completion rate, ✓ 100% on-time completion, ✓ 100% on-budget :) Kindly, check my profile: http://www.freelancer.com/u/eComOS.html I work alone, and strictly bid only what I can do! No sub-contracting... ever! I always backup files that I change. I believe in working the smart way; that makes me work smart, and not hard! You will never go wrong choosing me :)
£25 GBP in 0 day
5.0 (52 reviews)
5.2
5.2
User Avatar
hello, This is no easy fix. Basically, your script is written for an outdated version of PHP. The session_register function has not existed for quite some time (years, in fact, since 5.0 was released). There are a couple of options here. #1: Move back to a host with php4 (not suggested as you still have to deal with upgrading the site) #2: Upgrade the site so that it is compatible with php 5. I CAN do this for you, though it will take a good bit of time to do. If you'll look at my profile (https://www.freelancer.com/u/twhiting9275.html), you'll see 100% positive (5 star) feedback, high completion (I don't abandon projects, but there are times employers take work and cancel to avoid paying) and a link to my own site where I've done the same for better than 10 years now. Your project will be completed with the same diligence and persistence. Your task will be completed within the advertised period of time, and be given everything needed to be done right. I look forward to hearing from you and working with you on this project. Tom Whiting
£157 GBP in 7 days
5.0 (24 reviews)
4.8
4.8
User Avatar
Hi, please let me know the complete fatal error and the site where you're getting it. I will fix it right away. Thanks
£20 GBP in 1 day
4.8 (31 reviews)
4.3
4.3
User Avatar
Hello. I am ready to start right now. It seems that is a problem with a file path and not the DB. I need to check all the files and DB to see where the wrong path is. Please message me if you are interested to have it ready in 20-30 mins.
£18 GBP in 0 day
4.9 (4 reviews)
2.7
2.7
User Avatar
It is due to some functions being defunct in the new php version. I can fix this rightaway. Please let me know I will complete this in a couple of hours. Thanks, Tom
£19 GBP in 1 day
5.0 (2 reviews)
2.1
2.1
User Avatar
Hello, I found your job post and I’m very interested in your project. As an experienced Wordpress, HTML/CSS, Jquery,PHP... I think you’ll find I have the skills you’re looking for. I can work right now. Thank you for your consideration
£18 GBP in 0 day
5.0 (5 reviews)
2.0
2.0
User Avatar
Hi alltech2013, We have 50+ skilled web development team. Please give few minutes for technical discussion of the project. Waiting for your reply & chance for further discussion
£20 GBP in 3 days
0.0 (1 review)
0.0
0.0
User Avatar
My best guess on what your problem is: the PHP version that runs on the new server is > 5.4.0. actually. That function was removed from PHP in that version. If you want to pay me fine if not happy to help out :)
£13 GBP in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
watford, United Kingdom
4.3
5
Payment method verified
Member since Sep 2, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.