[error] Error while parsing CharacterProfiler after 0 second

CharacterProfiler.lua file uploading issues

[error] Error while parsing CharacterProfiler after 0 second

Postby Locutus » Tue Jan 23, 2007 6:11 pm

Hey Guys,

I think i need some help. I upgraded the roster (from 1.7.0 to 1.7.2 with the latest patches found on the forums / SVN) on my guilds homepage a week ago and it broke the upload of the profiles.
I went on the search but i only saw a message that applies to IIS installations.

I think this has something to do with not being able to write to /tmp directory but i really can't be sure.
I keep getting the error "Error while parsing CharacterProfiler after 0 second" without any errors.
Clients are using the newest version of the character and guildprofiler and all old data was purged.

I even tried a vanilla install in a new database but i still get these errors.

Just to be on the safe side, this is what rosterdiag says:

Code: Select all
Basic Server Info 
OS FreeBSD
Server Software Aleto HTTPd
MySQL Version 4.1.21
 
PHP Settings   phpinfo() page 
PHP Version 4.4.4
PHP API Type apache2handler
safe_mode Off
open_basedir On
allow_url_fopen Off
file_uploads On
upload_max_filesize 20M
 
GD Support 
GD Status On
GD Version bundled (2.0.28 compatible)
FreeType Support Yes
FreeType Linkage with freetype
T1Lib Support No
GIF Read Support Yes
GIF Create Support Yes
JPG Support Yes
PNG Support Yes
WBMP Support Yes
XBM Support Yes
JIS-mapped Japanese Font Support No
 
version 1.7.2
db_version 4
db_name ******** (removed due to security reasons)
db_host localhost
db_prefix roster_
sqldebug On
roster_lang enUS
roster_dir /components/roster
img_url img/
interface_url img/
img_suffix jpg
server_name_comp Off
guild_name Divine Exile
server_name Doomhammer
use_update_triggers On
realmstatus_url http://www.wow-europe.com/en/serverstatus/index.html
realmstatus Doomhammer
rs_mode On


Maybe i'm just plain blind, but i'dd really appreciate it if anyone can help or point me into the right direction.

Thanks in advance and thanks for creating wow-roster in the first place :P

Kind Regards,

Locutus
Last edited by Locutus on Tue Jan 23, 2007 6:16 pm, edited 1 time in total.
Locutus
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Jul 28, 2006 5:01 pm

[error] Error while parsing CharacterProfiler after 0 second

Postby zanix » Tue Jan 23, 2007 9:14 pm

I don't know about Aleto HTTPd or FreeBSD
But the same rules apply to all OS's, php needs access to the upload_temp_dir which is specified in php.ini
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[error] Error while parsing CharacterProfiler after 0 second

Postby Locutus » Wed Jan 24, 2007 4:55 am

Well Aleto is just the company that hosts my site. It's just a normal apache2 version.

Is there a way to define another temporary location to save this? This was the way to handle it when i installed joomla on there.

The hosting provider won't allow access to the /tmp dir cause of multiple hack attempts :(...
Locutus
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Jul 28, 2006 5:01 pm

[error] Error while parsing CharacterProfiler after 0 second

Postby zanix » Wed Jan 24, 2007 12:44 pm

Yeah, there is a post here somewhere to change where roster uploads data
Try running a search for move_uploaded_file
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[error] Error while parsing CharacterProfiler after 0 second

Postby Locutus » Wed Jan 24, 2007 4:01 pm

Well i'm afraid that wasn't the solution as well :(.
I modified the update.php to use the "move_uploaded_file" function to move it to a folder with in the roster install.

Errors that keep popping up : Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/var/tmp/phpj1tK0Q) is not within the allowed path(s):

So i thought, let's go around the problem. I created a tmp folder outside the public html folder and use a .htaccess file to do:
php_value upload_tmp_dir /usr/home/xxx/tmp
php_value session.save_path /usr/home/xxx/tmp

And this still didn't work.
I'm beginning to think i need to find another host...
Or maybe someone has a new idea about the problem?

(Hosting provider is not gonna lose up the open_basedir restrictions :()
Locutus
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Jul 28, 2006 5:01 pm

Re: [error] Error while parsing CharacterProfiler after 0 se

Postby gvaughan » Tue Jan 30, 2007 2:48 pm

I just started getting this error. People were updating their details etc until Saturday just fine. I havent done any code changes since then, so I am stumped as to why this has started happening.

Code: Select all
Parsing files

Error while parsing CharacterProfiler after 0 seconds


My version is 1.7.2

Thank you

Sharni
gvaughan
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon Jul 10, 2006 8:08 pm

[error] Error while parsing CharacterProfiler after 0 second

Postby Veliane » Mon Feb 05, 2007 4:59 am

I got the same Error atm. Till Friday 2.02 I could upload the Characters with no problem.
Today I tried to upload our roster and I got also the error while parsing character profile after 0.55 seconds.
Also got infos from my members on the weekend, that it wasn't working anymore.
Anyone an idea?
Last edited by Veliane on Mon Feb 05, 2007 5:00 am, edited 1 time in total.
Veliane
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Dec 13, 2006 10:20 am

[error] Error while parsing CharacterProfiler after 0 second

Postby gvaughan » Tue Feb 13, 2007 2:55 am

Well after waiting a couple of weeks to see if anyone had a fix to this and just seeing another having the same problem, I turned to a friend who also runs several guild rosters for some ideas.

He suggested I make sure I had all the latest addon versions, I had done this a couple of weeks ago to no avail, but there was a new release since then. I updated and still had the error.

Then he suggested I use the purge command in the game. /cp purge info

So I tried that, and when I uploaded I had a similar error but addition errors as well.

So after that I deleted my characterprofiler.lua file. And loaded up fresh in the game.

Worked like a charm after that.

So summary.

Make sure you have the latest wow addons.
Delete the .lua file
Open all chars freshly
Upload and hopefully it will work.

Sharni
gvaughan
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon Jul 10, 2006 8:08 pm


Return to Uploading

Who is online

Users browsing this forum: No registered users and 0 guests

cron