Status
Not open for further replies.

invitezone

Customer
Hi,
when I add an image to a new thread and tick 'Retrieve remote file and reference locally' I get the following error...


<br /><strong>Warning</strong>: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>338</strong><br /><?xml version="1.0" encoding="windows-1252"?>
<error>Sorry, you need 105 Credits to upload this attachment.</error>
 
in (forums)/dbtech/vbcredits/credits_vbulletin.php find

PHP:
curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);

add before it

PHP:
if (ini_get('open_basedir') == '' AND ini_get('safe_mode' == 'Off'))
 
ok done that now I get...


<br /><strong>Warning</strong>: curl_setopt(): supplied argument is not a valid cURL handle resource in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>335</strong><br /><br /><strong>Warning</strong>: curl_setopt(): supplied argument is not a valid cURL handle resource in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>336</strong><br /><br /><strong>Warning</strong>: curl_setopt(): supplied argument is not a valid cURL handle resource in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>337</strong><br /><br /><strong>Warning</strong>: curl_setopt(): supplied argument is not a valid cURL handle resource in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>339</strong><br /><br /><strong>Warning</strong>: curl_exec(): supplied argument is not a valid cURL handle resource in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>340</strong><br /><br /><strong>Warning</strong>: curl_close(): supplied argument is not a valid cURL handle resource in <strong>[path]/dbtech/credits/credits_vbulletin.php</strong> on line <strong>341</strong><br /><?xml version="1.0" encoding="windows-1252"?>
<error>Sorry, you need 1 Credits to upload this attachment.</error>
 
sounds like you made the edit incorrectly.

can you paste here the whole chunk of code you have now between

PHP:
$c = curl_init($url[0]);

and

PHP:
curl_close($c);

and i will tell you what to replace it with
 
$c = curl_init($url[0]);
curl_setopt($c, CURLOPT_NOBODY, true);
curl_setopt($c, CURLOPT_HEADER, true);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
if (ini_get('open_basedir') == '' AND ini_get('safe_mode' == 'Off'))
curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
$data = curl_exec($c);
curl_close($c);
 
$file = array('size' => 0);
list($file['width'], $file['height']) = getimagesize($url[0]);
$c = curl_init($url[0]);
curl_setopt($c, CURLOPT_NOBODY, true);
curl_setopt($c, CURLOPT_HEADER, true);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
if (ini_get('open_basedir') == '' AND ini_get('safe_mode' == 'Off'))
curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
$data = curl_exec($c);
curl_close($c);
 
Now when I disable the credits for upload option, it removes most of the error and just says invalid file specified.
Not sure if that helps.
 
gone from a chat to no response for an hour hence the ???
I have purchased a very expensive addon including branding free option.
If you can't make the product work issue me a refund so I can buy an alternative.
 
You paid for the product, not support, the developer will answer you when he has time. Here is a run down on DragonByte's support issues.

Q: What is the DBTech policy on support issues?

A: Support is provided on an as-available basis

Less formal answer:
Paying customers will always be looked at first when it comes to support. If we are unable to diagnose an issue via the forum, our support agents will visit your site to try to diagnose the issue there. They may require ACP and/or FTP access for this. If you fail to provide this then they may be unable to assist you further.

Each modification is supported primarily by the developer responsible for coding it, this means support times can vary between products, and if you have an issue that hasn't been resolved while others have, that's probably why.


Q: What are the normal support response times?

A: There are no guaranteed response times with regards to support

Less formal answer:
Support for mods is provided primarily by the coder of the modification, so the average response time varies from product to product. With that being said we do have internal guidelines about support and response times which our coders are expected to meet:

Major Bugs/Security Risks: Fixed within 24 hours. A major bug would be one which affects the ability of your forum to function, or stops the product from functioning.

Medium Level Bugs: Fixed within 7 days. A medium level bug would be Individual features not working or performing as they should.

Low level issues: Fixed within 60 days. A low level issue would be something aesthetic (a line being a few pixels out) or a feature having a small flaw in its operation (activity bars only count 99% instead of 100) or a non-integral feature not performing as it should (a backup feature having issues with certain server configurations)

We must reiterate that while paying customers get priority support you are not paying for support. Support will be offered for users of our free mods and Lite mods as well, but this is done as and when the agents have time. They do not follow the above response time guidelines.
 
True, but like I said the developer will answer you as soon as he can. This product has been out for over a year and this is the first that I know of this exact bug coming through, otherwise it would have been fixed if someone else reported it. So please try and have some patience till Darkwaltz4 can get back to you.
 
ok I admit the impatience, so apologies for that.But with regards to me being the first to report the issue, maybe you should check this products thread at VB.org.
 
Sorry for the delay. Your edit looks good.

DBtech had the exact issue and the file edit I gave you solved it. As it didnt work for you....


Could you please create and PM me with a temporary FTP and AdminCP account?

For security reasons, we recommend you create a new FTP account only for DBTech support, then disable or delete it after we have both confirmed the issue has been solved and there are no further issues.

The same applies to AdminCP accounts; they should ideally be temporary accounts created for us only. If we have created an account on your site already, you can optionally boost that account to Administrator and then de-admin this account once the issue has been solved.

If you use a .htaccess password protection for your AdminCP directory, it is recommended that you create a new authorised user for DBTech and remove this user once the issue has been solved.

Please test any temporary accounts you create to ensure that the FTP account has access to the forum files, and that the AdminCP account can access the administrative controls for the product we are assisting you with.

Ensuring this is all in order before submitting the information will significantly speed up the process of assisting you. We will alert you via PM if there's any issues with the login information you have provided.

When sending the PM, for your security you should also un-tick the "Save a copy in my Sent Items folder" checkbox. When the access details have been received, we will delete the PM from our inbox. Ensuring you have not kept a copy of the PM reduces the risk of security breaches.

Thank you for helping us debug our products and allowing us to assist you, we appreciate it :D
 
I will have sort this access out for you tomorrow as the person who can give you an ftp account is offline. Sorry, thanks for the help.
 
I havent forgotten you, just wrapping up big bugfix update for vbcredits releasing tonight. I want to see how the update affects you before continuing.
 
Status
Not open for further replies.

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
846
Customer rating
0.00 star(s) 0 ratings
Back
Top