UniUpoader not uploading my LUA

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

UniUpoader not uploading my LUA

Postby Pandracones » Sun Dec 02, 2007 8:15 am

Hi everyone,

When I try to upload my profile the server tab says:

Code: Select all
<!-- ############ Uploading to Primary URL...
     ############ http://cob.servehttp.com/cobroster/pages/update.php -->

Detected invalid access to this file!


And does not update the roster. The roster will only update with a manual upload from the site.

I'm using the latest Beta roster, but I don't think that matters, or perhaps it does.

Thanks in advance for your help,

CK
Last edited by Pandracones on Sun Dec 02, 2007 3:40 pm, edited 1 time in total.
Pandracones
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Dec 19, 2006 1:24 pm

UniUpoader not uploading my LUA

Postby MattM » Sun Dec 02, 2007 12:28 pm

the primary url is wrong
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: UniUpoader not uploading my LUA

Postby Pandracones » Sun Dec 02, 2007 1:20 pm

And how is it wrong? That is the only directory with update.php.
Pandracones
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Dec 19, 2006 1:24 pm

Re: UniUpoader not uploading my LUA

Postby boyo » Sun Dec 02, 2007 3:03 pm

It should be http://cob.servehttp.com/cobroster/update.php
Yes the file does not exist, but that's what the proper path is.
How that works, i'm not sure, has something to do with the htaccess i think, still kinda confused with that one.
Last edited by boyo on Sun Dec 02, 2007 3:04 pm, edited 1 time in total.
boyo
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Wed Jan 24, 2007 7:37 am

Re: UniUpoader not uploading my LUA

Postby Pandracones » Sun Dec 02, 2007 3:06 pm

Thanks for the info but that still does not work, I simply get a new error.

Code: Select all
[2007/12/02 00:05:13] Initializing Application
[2007/12/02 00:05:13] .NET Framework v1.1.4322
[2007/12/02 00:05:13] Startup Value Not Found
[2007/12/02 00:05:13] v2.6.7 Ready.
[2007/12/02 00:05:13]
[2007/12/02 00:05:13] RetrData: url: http://www.wowroster.net/uniuploader_updater2/update.php
[2007/12/02 00:05:13] RetrData: param1: OPERATION
[2007/12/02 00:05:13] RetrData: val1: CHECKUPDATES
[2007/12/02 00:05:13] RetrData: Timeout: 20000
[2007/12/02 00:05:13] RetrData: ------------------------------------------------------------------------
[2007/12/02 00:05:13] 2.6.7|
[2007/12/02 00:05:13] 2.6.7 Changes
[2007/12/02 00:05:13] 1. Fixed - Long SV name bug
[2007/12/02 00:05:13] 2. Fixed - purge web-wow sv bug
[2007/12/02 00:05:13] RetrData: ------------------------------------------------------------------------
[2007/12/02 00:05:13]
[2007/12/02 00:05:13]
[2007/12/02 00:05:13] RetrData: url: http://www.wowroster.net/uniuploader_updater2/update.php
[2007/12/02 00:05:13] RetrData: param1: OPERATION
[2007/12/02 00:05:13] RetrData: val1: GETLANGMD5
[2007/12/02 00:05:13] RetrData: Timeout: 20000
[2007/12/02 00:05:13] RetrData: ------------------------------------------------------------------------
[2007/12/02 00:05:14] cd44d0a27f13f98b7a30241d56d2d29b
[2007/12/02 00:05:14] RetrData: ------------------------------------------------------------------------
[2007/12/02 00:05:14]
[2007/12/02 00:05:14] MD5SUM of local languages.ini: cd44d0a27f13f98b7a30241d56d2d29b
[2007/12/02 00:05:21] Uploading to Primary URL...: http://cob.servehttp.com/cobroster/update.php
[2007/12/02 00:05:21] CharacterProfiler.lua - No Compression. Upload Size: 537 KB
[2007/12/02 00:05:22] Upload Error: The remote server returned an error: (404) Not Found.
Pandracones
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Dec 19, 2006 1:24 pm

UniUpoader not uploading my LUA

Postby boyo » Sun Dec 02, 2007 3:13 pm

Ok, not exactly sure what the issue is here, but if you use
Code: Select all
http://cob.servehttp.com/cobroster/index.php?p=update&a=g:1
it should work. I tried to upload my cp.lua to it and it connected and everything and just denied my upload.
boyo
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Wed Jan 24, 2007 7:37 am

Re: UniUpoader not uploading my LUA

Postby Pandracones » Sun Dec 02, 2007 3:24 pm

Bingo! That worked. Thanks a lot. :-)

CK
Pandracones
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Dec 19, 2006 1:24 pm

UniUpoader not uploading my LUA

Postby PleegWat » Sun Dec 02, 2007 9:31 pm

The proper URI, with SEO off, is:

http://server.tld/roster/index.php?p=update

And with SEO on:

http://server.tld/roster/update.html

With seo on roster/update.php will work as well, due to how the uri parsing works, but using this is not advised as the method of parsing may change in the future.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: UniUpoader not uploading my LUA

Postby tuigii » Mon Dec 03, 2007 9:54 am

PleegWat wrote:The proper URI, with SEO off, is:
http://server.tld/roster/index.php?p=update

That always worked for me ....

PleegWat wrote:And with SEO on:
http://server.tld/roster/update.html
With seo on roster/update.php will work as well, due to how the uri parsing works, but using this is not advised as the method of parsing may change in the future.


:shock: So, when putting Alternative urls to On in the main roster admin page, then http://server.tld/roster/update.html actually works :D

With the help of this small file (.htaccess) in my roster root (/roster) :
Code: Select all
<IfModule mod_rewrite.c>
   # ENABLE ENGINE
   RewriteEngine On

   # CONIDITIONS
   RewriteCond %{REQUEST_FILENAME} -f [OR]
   RewriteCond %{REQUEST_FILENAME} -d

   # REWRITE RULES
   RewriteRule ^(.+) - [PT,L]
   RewriteRule ^(.*) /roster/index.php
</IfModule>


I know that the apache mod_rewriting is darkness, evil, blackforce and makes any voodoo men running away, but I added a small /roster before the /index.php in this file - because that where my roster lives - and it worked !!

I'm amazed :D
And understood the function of your .htaccess file.

I'll move it into my main root .htacces file right away.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

UniUpoader not uploading my LUA

Postby Ninaste » Tue Dec 11, 2007 3:35 pm

If we now have to use ...\webserver\index.php?p=update&a=g:1 then please change wowwiki as well, and my uniuploader did just change back to ...\webserver\roster\update.php, any idea why?

I got the 404 error as well. With the \index.php?p=update&a=g:1 piece in it it's uploading fine. But the only place I could find about that is in this thread...
Ninaste
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Mon Dec 11, 2006 8:48 pm

UniUpoader not uploading my LUA

Postby PleegWat » Tue Dec 11, 2007 4:33 pm

you need to use forward slashes, not backslashes. Also, very old versions of UU don't support ? urls. And you don't need to pass the a=, it is not (or should not be) used.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

UniUpoader not uploading my LUA

Postby zanix » Wed Dec 12, 2007 1:56 am

The a= just keeps track of what current realm/guild/character you are/were viewing
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

UniUpoader not uploading my LUA

Postby Ninaste » Wed Dec 12, 2007 3:27 pm

Yeah sorry I do have forward slashes
Ninaste
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Mon Dec 11, 2006 8:48 pm


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron