Find Jobs
Hire Freelancers

Error with plugin after upgrade to VPS hosting

$30-250 USD

In Progress
Posted over 5 years ago

$30-250 USD

Paid on delivery
Wordpress drawing plugin was working as intended before hosting account was upgraded from a pro hosting account to VPS on inMotionhosting.com. The plugin is supposed to capture images on the page, create a thumbnail, then onclick paint over the html 5 canvas with that image. The before image included shows the thumbnail as it should appear. It's missing in the after image. Debugging error shown in the last image. Relevant code from the plugin: //From [login to view URL] function drawblogDoGetImgData(imgsrc){ var image_choices = [login to view URL]("drawblog_image_choices"); [login to view URL]({url:"<?php echo plugins_url();?>/drawblog/[login to view URL]", type:"post", data:"wpdir=<?php echo content_url();?>&imgsrc="+imgsrc, success:function(data){ img_data = [login to view URL](data); var newImage = [login to view URL]("IMG"); var tn_ratio = (50/img_data[2]); [login to view URL] = img_data[0]; [login to view URL] = 50; [login to view URL] = [login to view URL](img_data[1] * tn_ratio); var newwidth; var newheight; var hratio = wratio = 1; if (img_data[1] > <?php echo $width;?>){ newwidth = <?php echo $width;?>; wratio = <?php echo $width;?>/img_data[1]; } else newwidth = img_data[1]; if (img_data[2] > <?php echo $height;?>){ newheight = <?php echo $height;?>; hratio = <?php echo $height;?>/img_data[2]; } else newheight = img_data[2]; if (hratio > wratio){ newheight = img_data[2] * wratio; } else if (wratio > hratio){ newwidth = img_data[1] * hratio; } [login to view URL] = function() { drawblogPasteImg([login to view URL], newwidth, newheight); }; [login to view URL] = "pointer"; [login to view URL] = "1px solid #000000"; [login to view URL](newImage); } }); } //From [login to view URL] <?php $img = $_POST['imgsrc']; $wpdir = $_POST['wpdir']; $domain_bits = parse_url($img); $domain = $domain_bits['host']; $filename = $domain_bits['path']; if ($domain == $_SERVER['SERVER_NAME']) { $file = $img; } else { $file = $wpdir.'/plugins/drawblog/[login to view URL]'.urlencode($img); } $img_info = getimagesize($img); if ($img_info !== false){ echo json_encode(array($file,$img_info[0], $img_info[1])); } else echo ''; //From [login to view URL] <?php $img = urldecode($_GET['img']); $img_info = getimagesize($img); if (($img_info !== false) && (in_array($img_info[2], array(IMAGETYPE_JPG, IMAGETYPE_JPEG, IMAGETYPE_JPEG2000, IMAGETYPE_PNG, IMAGETYPE_GIF)))){ header("Content-type: ".$img_info[2]); readfile($img); }
Project ID: 17515007

About the project

20 proposals
Remote project
Active 6 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
20 freelancers are bidding on average $120 USD for this job
User Avatar
Hi, I am interested to go with this project as I have gone through with your requirement that you need to solve plugin error in the website. Well, I have checked plugin code. Please send me website and plugin Url. Also, check our full Rating Profile with more than 270+ Nice Reviews. I have over 6+ years of experience in WordPress, > WooCoomerce, Magento, PrestaShop, Joomla, Drupal, > Core PHP, MySQL, AJAX and JavaScript. I have already solved these type of error in the plugin. Why me > 24 * 7 * 365 Available on Freelancer > Delivered on Time and Budget > Support after Project Completion > Daily progress report of the project I look forward to your response. Thanks & Regards Ashish
$188 USD in 3 days
5.0 (401 reviews)
8.1
8.1
User Avatar
Hi, Let me fix the plugin for you, ready to start now and have it done for you as soon as possible..thanks!
$100 USD in 0 day
5.0 (938 reviews)
8.2
8.2
User Avatar
Hi, I think there is issue with server configuration so i need old and new server access then i can tell you exact issue and resolve that. Looking forward to hear from you. Thanks
$122 USD in 2 days
5.0 (188 reviews)
7.5
7.5
User Avatar
Hi sir, I have read your requirement carefully. I am ready to fix plugin error and i will provide within or before 5 hours . If you wanna confirm me, please check my work history and portfolio kindly. Then, you can know about my ability that can do your project enough. Especially, this is my experienced and successful work before Of course, I know you could be in doubt about my real ability. It would be important for me to prove my ability through real project. I hope this project would be the first step in long term partnership with you. I await your favorable reply with interest. I feel confident my execution of this order will be to your complete satisfaction. I ready to start right now . Please feel free to ask any questions and we would be happy to assist you. Regards,
$100 USD in 1 day
4.7 (114 reviews)
7.4
7.4
User Avatar
Hello, I'm Abu Gosia. I'm interesting your project very well. I m quite well experienced in these jobs. Let's go ahead with me. Thanks
$155 USD in 3 days
4.9 (174 reviews)
6.8
6.8
User Avatar
Hello, Plugin issue WordPress? looks easy to me. Kindly provide me with more information so that we discuss on it.
$50 USD in 3 days
5.0 (352 reviews)
6.8
6.8
User Avatar
Hello! friend. I read your requirement about a project. I can check error with plugin after upgrade to VPS hosting. I will provide you with a better service than others. Do you have work with me lets chat I will reply to there for your message.! looking forward. thanks :)
$161 USD in 3 days
4.9 (81 reviews)
6.0
6.0
User Avatar
Hello, Ready to start the work to fix Error with plugin, We can discuss more over chat, Thanks Regard Arjun S.
$100 USD in 3 days
3.9 (25 reviews)
5.4
5.4
User Avatar
Hello Sir/Madam, we have big experience with wordpress and php in general. We can start wqork on your project immediately. We never ask for upfront payment you need to pay only when we finish our job and you like it. Feel free to ask us any questions that you have. Best Regards!
$50 USD in 1 day
4.7 (36 reviews)
4.4
4.4
User Avatar
Hello, can you give me some more detail like VPS server version and php version . what PHP version have you use before upgrad VPS after VPS . also i will fix this issue without any info . let me know if this job still available. Thanks
$111 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi Managers , As per your job post I have experience in this type of jobs and I will change whatever you want in modern ,professional and clean designs . I am working as web designer and developer from the last 6 years on various domains . I am interested to associate with you to develop your website in wordpress and enhance your website's look and feel. Please let me know the URL of the website. I am on $kype id ( edgesphare ) right now . So can we discuss about the project. I am expert in Photoshop ,Html , css , Javascript ,Responsive Design and Wordpress . I am available 24 x 7 assistance on $kype ,IM ,Gtalk whatever medium you have . Hope we will work together . Thanks and wait for your response. Regards PUNAM
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Sir/Ma'aM, i've seen your project description, to find out the bug we need to see the code live environment, but how ever we can fix this issue within a Day.. and will guarantee Money back if you are not happy with the fix, please let me know, Thank you Regards Prbath
$83 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
It's quite simple to fix this problem. I've been working with many drawing libraries in PHP such as the most popular "Imagemagick" which, i think, is missing in your VPS.
$35 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Lafayette, United States
5.0
2
Payment method verified
Member since Jul 2, 2018

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.