Talant Data update in Config doesen´t work.

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Talant Data update in Config doesen´t work.

Postby Faithnall » Sat Nov 19, 2011 1:46 pm

Hello all,

On my Page works the current Version SVN of 2.1.9


When i try to Update the Data Tables for the Talants in the Roster Config i get a short error Msg.:



The Tables will not created.

Any Idea?
Faithnall
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Feb 25, 2011 6:00 pm
Realm: Durotan (PvE) - US

Re: Talant Data update in Config doesen´t work.

Postby Ulminia » Sun Nov 20, 2011 1:17 am

this is odd the file exists when you click on the link and open with notepad++ it could be that your server is on a blackout list in our download section i have a english only talents update downloads/?id=144
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Talant Data update in Config doesen´t work.

Postby Faithnall » Sun Nov 20, 2011 4:51 pm

I have a update for this Problem. SQL and Debug givs this Informations:


PHP Errors
lib/api/tools/Curl.php
Warning line 94: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
admin/armory_data.php
Warning line 47: Invalid argument supplied for foreach()
Notice line 97: Undefined variable: count


seems that my server is in save mode?
Faithnall
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Feb 25, 2011 6:00 pm
Realm: Durotan (PvE) - US

Re: Talant Data update in Config doesen´t work.

Postby Ulminia » Sun Nov 20, 2011 8:54 pm

yes contact your host and have then turn off safemode and unset the open_basedir then this should work..
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Talant Data update in Config doesen´t work.

Postby Faithnall » Mon Nov 21, 2011 3:33 pm

Rehi,

i have called my host.

Save mode is = off

open Basedir can´t be changed :(
Faithnall
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Feb 25, 2011 6:00 pm
Realm: Durotan (PvE) - US

Re: Talant Data update in Config doesen´t work.

Postby Ulminia » Mon Nov 21, 2011 4:51 pm

ok try it with safemode off i may have to see about a work arround
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Talant Data update in Config doesen´t work.

Postby Nefuh » Mon Nov 21, 2011 6:39 pm

Hey,

i ´ve tested this on my guildroster and can confirm the problem!
It seems that if open_basedir is set, no talents updates are possible (safemode is off).

I´ve looked for a fix and found something on php.net:

In the comments on the site http://de3.php.net/manual/en/function.curl-setopt.php a found a function to solve the problem with open_basedir.

I added the function to the Curl.php file and edited some lines in the function "makeRequest" in this file.
Now the script should check if open_basedir isset and if open_basedir is set it should use the alternate function.

I upload my new Curl.php to this posting!
The file should be uploaded to /yourRosterDir/lib/api/tools/Curl.php.

Notice: I strongly recommend to make first a backup of the original file Curl.php.

Greetings

Nefuh
Attachments
Curl.zip
Notice: I strongly recommend to make first a backup of the original file Curl.php.
(2.37 KiB) Downloaded 322 times
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Re: Talant Data update in Config doesen´t work.

Postby Ulminia » Mon Nov 21, 2011 6:58 pm

i also updated this in svn
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron