UniUploader in Linux

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UniUploader in Linux

Postby scachi » Wed Jun 06, 2007 6:02 am

I have the same problem that it can't find the files localy.
The cause are the backslashes in linux in the addons files paths.
I have added the commented line //hack...
and the following line with the str_replace in it to convert the backslashes to slashes.

Code: Select all
// hack to convert backslash to slash in filedata files
                 $filedata['file']=str_replace("\\","/",$filedata['file']);
 
                 if (file_exists($WoWDir."/".$filedata['file']))
                 {
                     if ($filedata['md5'] == md5_file($WoWDir."/".$filedata['file']))


And now it seems to work as I found this in the log after the quick hack:
Code: Select all
05/06/2007 23:43 - File /Interface/AddOns/GuildProfiler/GuildProfiler.lua is the same
05/06/2007 23:43 - File /Interface/AddOns/GuildProfiler/GuildProfiler.toc is the same


Is the phpuniuploader still in active development ?
Maybe someone can test my changes if it still works on windows & mac as I only have a linux machine available.

Nice work, I really like the phpuniuploader.
scachi
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Jun 06, 2007 5:52 am

UniUploader in Linux

Postby Mathos » Wed Jun 06, 2007 7:07 am

Linux will function as mac will do. (Since mac is basicly BSD)

I am still developing this, and will try to get a fully functional one by the end of this week, including the extra SV files.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby Mathos » Fri Jun 08, 2007 6:47 am

Hi Guys,

New version of phpUniUploader (Release 2) available.

The file-issues and svlist issues should be solved.

Please test :)
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Sat Jun 09, 2007 7:06 am

Hello Mathos,

I was hoping that this updated uploader would automatically upload the CT_RaidTracker.lua with the update password, but it seems to have failed in some way.

Code: Select all
Updating CTMod RaidTracker Data from Character [Knappster]
utilisateur Knappster aucune raid a remonter


I'm not sure what language that is in, but I have a feeling it is some kind of error message, lol.

In my settings.ini.php file I had:
Code: Select all
$RosterUpdateUser     = "Knappster";                            // Your Roster User.
$RosterUpdatePassword = "*****";                          // Your Roster Password.

$SendUpdatePassword   = TRUE;                           // Do you want to send the password? (TRUE or FALSE)


where ***** is the appropriate password.

If you have any thoughts, I would appreciate hearing them :thumleft: .
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Sat Jun 09, 2007 9:41 pm

The message is definitely not coming from phpUniUploader. It looks French....although I do not speak French :)

I think the problem may well be in the CTRaid AddOn. Is the GuildProfiler data uploaded properly?
If so, the password is correctly sent to Roster.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby Mathos » Sat Jun 09, 2007 10:46 pm

utilisateur Knappster aucune raid a remonter is translated by PoloDude for me :)
"it means he has no raids to add"

So the problem is not related to phpUniUploader.

Do you get the same error btw if you upload manually?
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby Mathos » Sat Jun 09, 2007 11:04 pm

the User is btw not required at this point. I suggest you leave that empty.
It is a future variable for when roster will support authentication.

Can you attach your log files (phpUniUploader.log and LastUpload.log)
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Sun Jun 10, 2007 10:35 am

Thanks for the response Mathos. I did upload it manually without any problems. Remember now the update page has an input for the character profile, the pvp file, and the raid tracker file. Could this be part of the problem? I am away from my computer for the weekend so I will post the log files tomorrow night (hopefully).
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Mon Jun 11, 2007 6:27 am

It is related to the trigger somehow, which has static French messages in it.
I recommend uploading it manually till 1.8 is out and the tracker addon is written properly for 1.8 as Polo will then review the trigger.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Tue Jun 12, 2007 9:19 am

Here are the log files Mathos.

I started with fresh files and logged in and out once so that you didn't have to rifle through much.

Hope it helps.

edit:

I can't upload them so I guess I will link them:
http://www.tgdguild.com/phpUniUploader.log
http://www.tgdguild.com/phpUniUploader.LastUpload.log
Last edited by knappster on Tue Jun 12, 2007 9:26 am, edited 2 times in total.
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Wed Jun 13, 2007 12:27 am

Oki, The message is one-hundred percent certain coming from the trigger in the CTRaid Roster addon.

so I will dicuss this a bit more with PoloDude.

Maybe we will need a raid lua file from you for this issue, but first I think we need to check if it is UniUploader/phpUU related or not.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Sat Jun 16, 2007 3:33 am

Hey Mathos,

Any idea why the phpUniUploader.log file only contained:

"11/06/2007 20:16 - SV Files have changed. Uploading Files."

I haven't checked recently, but I don't think it is updating my addons.
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Sat Jun 16, 2007 6:37 am

Do you have any addons uploaded to UA ?
You are running 0.7.8 of UA I hope, as that is required currently.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Tue Oct 09, 2007 8:15 pm

Hello Mathos,

I think that my phpUniUploader may have been broken by the latest patch. I noticed it hasn't been updating my profile and I wasn't sure if it was because WoW would lock up on exiting or that phpuniuploader wasn't updating. When I checked status it said it was not running. When I manually start it, using:
Code: Select all
php phpUniUploader
I get this error message:

Fatal error: Call to a member function getAllChildren() on a non-object in /home/brian/phpuniuploader/phpUniUploader.php on line 222

I think it is the latest revision of phpuniuploader, dated in June.
Last edited by knappster on Tue Oct 09, 2007 8:53 pm, edited 1 time in total.
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

Re: UniUploader in Linux

Postby Mathos » Tue Oct 09, 2007 10:00 pm

Hi,

I havent played WoW for a long long time, however....
Line 222 reads:
Code: Select all
$settings $uasettings->getAllChildren(); 


This means that the XML that is drawn from UAdmin, is not correctly processed. Did UA change?

I am not in the possibility to test this, but please do this:
Code: Select all
http://yourhost.xxx/uniadmin/interface.php?OPERATION=GETSETTINGSXML

and you will get something like this:
Code: Select all
<uasettings>

   <settings>
<ADDONAUTOUPDATE> 1 </ADDONAUTOUPDATE>
<ADDVARNAME2> password </ADDVARNAME2>
<ALWAYSONTOP/>
<AUTODETECTWOW> 1 </AUTODETECTWOW>
<AUTOUPLOADONFILECHANGES> 1 </AUTOUPLOADONFILECHANGES>
<GZIP> 1 </GZIP>
<PRIMARYURL> http://myhost.xxx/roster/update.php </PRIMARYURL>
<PROGRAMMODE> Advanced </PROGRAMMODE>
<SENDPWSECURE> 1 </SENDPWSECURE>
<STARTMINI> 1 </STARTMINI>
<STARTWITHWINDOWS> 1 </STARTWITHWINDOWS>

   <SYNCHROURL>
 http://yourhost.xxx/uniadmin/uniadmin/interface.php
</SYNCHROURL>
<SYSTRAY> 1 </SYSTRAY>
<UUSETTINGSUPDATER> 1 </UUSETTINGSUPDATER>
<UUUPDATERCHECK> 1 </UUUPDATERCHECK>
</settings>

   <svlist>
<savedvariable> CharacterProfiler </savedvariable>
<savedvariable> GroupCalendar </savedvariable>
<savedvariable> PvPLog </savedvariable>
</svlist>
</uasettings>


Can you post this code here (excluding passwords if they are included!!!!)
Last edited by Mathos on Tue Oct 09, 2007 10:10 pm, edited 1 time in total.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

PreviousNext

Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest