No Updates / Problem with Guildname?

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

No Updates / Problem with Guildname?

Postby Paganosterix » Sat Jul 15, 2006 10:56 pm

Hi,

well, since the last patches i can't update my roster anymore. I've cofigure everything correct, but when i'll try to upload the CP.lua nothing updates.
The Update Log is still empty and the SQL Queries show only:

SELECT `config_name`, `config_value` FROM `roster_config` ORDER BY `id` ASC;

Maybe there is a problem with our guildname, because of a special character.

Guilname: Die blutroten Söldner
Realm: Forscherliga

Well, i still deleted the CP.lua in the WTF and logged everything again. I copied the guild- and the realmname from the CP.lua to the adminpanel and nothing happend.
I'll hope there is somebody how know a solution.
Paganosterix
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sun Jul 09, 2006 12:47 pm

Re: No Updates / Problem with Guildname?

Postby tommy24j » Mon Jul 17, 2006 8:05 pm

:neutral: got same problem pls help anyone
tommy24j
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Jul 12, 2006 1:13 pm

No Updates / Problem with Guildname?

Postby keldrak » Thu Jul 20, 2006 12:29 am

User avatar
keldrak
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Wed Jul 05, 2006 5:14 pm

No Updates / Problem with Guildname?

Postby Paganosterix » Thu Jul 20, 2006 12:49 pm

no, with this changes, i got an error on top of the roster

?php /****************************** * WoWRoster.net Roster * Copyright 2002-2006 * Licensed under the Creative Commons * "Attribution-NonCommercial-ShareAlike 2.5" license * * Short summary * http://creativecommons.org/licenses/by-nc-sa/2.5/ * * Full license information * http://creativecommons.org/licenses/by- ... /legalcode * ----------------------------- * * $Id: luaparser.php 63 2006-06-14 22:30:35Z mathos $ * ******************************/ if ( !defined('ROSTER_INSTALLED') ) { exit('Detected invalid access to this file!'); } /** * Wrapper function so that you can parse a file instead of an array. * @author six */ function ParseLuaFile($filename , $mode=null ) { // if(file_exists($filename)) // { if( $mode == 'gz' ) { $file_as_array = gzfile($filename); } else { $file_as_array = file($filename); } return(ParseLuaArray($file_as_array)); // } return(false); } /** * Main LUA parsing function * @author six, originally mordon */ function ParseLuaArray( &$file_as_array ) { if (!is_array($file_as_array)) { // return false if not presented with an array return(false); } else { // Parse the contents of the array $stack = array( array( '', array()) ); $stack_pos = 0; $last_line = ''; foreach( $file_as_array as $line ) { // join lines ending in \\ together if( substr( $line, -2, 1 ) == '\\' ) { $last_line .= substr($line, 0, -2) . "\n"; continue; } if($last_line!='') { $line = trim($last_line . $line); $last_line = ''; } else { $line = trim($line); } $line = rtrim($line, ','); // Look for a key value pair if( strpos( $line, '=' ) ) { list($name, $value) = explode( '=', $line, 2 ); $name = trim($name); $value = trim($value); if($name[0]=='[') { $name = trim($name, '[]"'); } if( $value == '{' ) { $stack_pos++; $stack[$stack_pos] = array($name, array()); } else { if($value[0]=='"') { $value = substr($value,1,-1); } else if($value == 'true') { $value = true; } else if($value == 'false') { $value = false; } else if($value == 'nil') { $value = NULL; } $stack[$stack_pos][1][$name] = $value; } } else if( $line == '}' ) { $hash = $stack[$stack_pos]; $stack_pos--; $stack[$stack_pos][1][$hash[0]] = $hash[1]; } } return($stack[0][1]); } } ?>
Paganosterix
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sun Jul 09, 2006 12:47 pm

Re: No Updates / Problem with Guildname?

Postby keldrak » Thu Jul 20, 2006 5:38 pm

Very strange. Maybe you accidentally modified something else.

Attached is my luaparser.php file, it's zipped. Try it.

Also, if the error you're getting is what you qouted, you may have accidentally nicked the "<" from the very beginning of the file, the first line should be:
Code: Select all
<?php
Attachments
luaparser.zip
my luaparser.php (zipped)
(1.14 KiB) Downloaded 254 times
User avatar
keldrak
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Wed Jul 05, 2006 5:14 pm

Re: No Updates / Problem with Guildname?

Postby qthatswho » Fri Jul 21, 2006 10:58 am

Still not working for me, even with your parser file. Same issues as others are reporting... things were fine until July 10/11 (last successful uploads), but no data has successfully uploaded since. Reinstalling didn't help either... nothing in the update log, and that 1 line in the SQL log:

SELECT `config_name`, `config_value` FROM `roster_config` ORDER BY `id` ASC;

Thats it... =(

In fact, I can't even get the guild list to upload, so my roster is completely hosed at this point. I'm sure this is over my head, but it seems like there might be a disconnect between the data that is being uploaded and the "parsing" that's supposed to happen.


Please, WoWRoster geniuses... help us!


WoWRoster 1.7
Apache server
MySQL 4.1.18-standard-log
PVP version 4.4.2

If there's any other info that would be helpful, let me know and I'll try to get it.
Last edited by qthatswho on Fri Jul 21, 2006 1:22 pm, edited 1 time in total.
User avatar
qthatswho
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Fri Jul 21, 2006 5:37 am

No Updates / Problem with Guildname?

Postby Paganosterix » Fri Jul 21, 2006 9:42 pm

@ keldrak

THX, that's it. don't know what's getting wrong, but your file ok.
Paganosterix
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sun Jul 09, 2006 12:47 pm

No Updates / Problem with Guildname?

Postby dannyjb1 » Wed Jul 26, 2006 2:21 am

Thanks
That luaparser worked for that exact same problem I was getting!
dannyjb1
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Tue Jul 25, 2006 6:38 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron