Bug with WoWAce and dots.

Support and feedback for UniAdmin

Bug with WoWAce and dots.

Postby Brimstone » Tue Feb 27, 2007 11:29 pm

If you try and download any addon via the wowace plugin that has a dot in the name, the download errors out. Somewhere it is translating the dot to an underscore, so it gets a 404 when pulling the file from wowace.com.

I got the error on Talismonger-3.0, but it happens on others.

Code: Select all
Warning: file_get_contents(http://files.wowace.com/Talismonger-3_0/Talismonger-3_0.zip) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /home/httpd/xoops-sa/uniadmin/modules/wowace.php on line 151
Last edited by Brimstone on Wed Feb 28, 2007 1:27 am, edited 1 time in total.
Brimstone
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Tue Feb 27, 2007 10:53 pm

Bug with WoWAce and dots.

Postby zanix » Wed Feb 28, 2007 3:10 am

Hmm, it is
I wonder why...
Zanix looks at the WoWAce module code
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Bug with WoWAce and dots.

Postby Shadowsong » Fri Mar 02, 2007 2:40 pm

why is there an underscore ("_") between 3 and 0?
try this url:
http://www.wowace.com/files/Talismonger-3.0/Talismonger-3.0.zip
User avatar
Shadowsong
WR.net Apprentice
WR.net Apprentice
 
Posts: 32
Joined: Wed Feb 14, 2007 2:39 pm

Bug with WoWAce and dots.

Postby zanix » Fri Mar 02, 2007 5:45 pm

I honestly do not know...
It seems that posting a value with a dot in it converts it into an underscore
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Bug with WoWAce and dots.

Postby zanix » Sun Mar 04, 2007 10:40 pm

I figured out that php does this conversion

I will edit the wowace module to convert periods to something else
Then back again for the download
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Bug with WoWAce and dots.

Postby zanix » Sun Mar 04, 2007 11:00 pm

Scratch that
I'll be using sessions to hold the correct addon name
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 0 guests

cron