Upload PvPlog

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

Upload PvPlog

Postby Sódóm » Tue Jul 11, 2006 10:10 pm

Hi!

I want to upload the PvPlog-File, but I see this Error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 14 bytes) in /srv/www/web6/html/roster7/lib/luaparser.php on line 84

What can I do?
Last edited by Sódóm on Wed Jul 12, 2006 2:34 pm, edited 1 time in total.
User avatar
Sódóm
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Jul 11, 2006 7:12 pm

Re: Upload PvPlog

Postby bsox » Fri Jul 14, 2006 1:25 pm

One of my users has the same problem. Strangely, the pvp lua is only abut 1,5megs according to him. (Still a rather larger dataset)
bsox
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Jul 05, 2006 1:44 pm

Re: Upload PvPlog

Postby Sódóm » Fri Jul 14, 2006 11:09 pm

My PvPLog-File is 1,29 MB. I can't understand what I have to do with this file to make it smaler. My opinion is that the only way to clear the Problem is to delet the file and make a new one. But that is not what I want. I have a PvP-Guild and that is the most importend information.

What can I do? Is it a Problem from the Server, from the Roster or from the file self? How can I fix it?

Please help me by this problem.

By the way: Sorry for my english, I'm german ;-)
User avatar
Sódóm
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Jul 11, 2006 7:12 pm

Re: Upload PvPlog

Postby Sódóm » Sat Jul 15, 2006 4:08 am

Ok, I have fixed the problem.
When you use a own server you must pull the memory_limit in your php.ini higher. Then start your apache server new.
That fix it.
User avatar
Sódóm
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Jul 11, 2006 7:12 pm

Re: Upload PvPlog

Postby Dreadan » Tue Jul 18, 2006 2:35 am

I have a user with a similar problem but its not with uploading. After he uploads and clicks on BG log he gets this error

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 45 bytes) in /home/mercade/public_html/gow/roster/lib/wowdb.php on line 117

This is the code surrounding it

Code: Select all
    function fetch_assoc$result )
    {
        return 
mysql_fetch_assoc$result );
    } 


Is this a database problem or still the memory? The pvp2 database is only 1.5 mb and he says his upload is around 600kb

:???:
Last edited by Dreadan on Tue Jul 18, 2006 7:23 pm, edited 1 time in total.
Dreadan
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Jul 04, 2006 7:42 pm

Upload PvPlog

Postby zanix » Tue Jul 18, 2006 5:38 am

Sounds like a php problem
I wouldn't know how to fix
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

Re: Upload PvPlog

Postby Sódóm » Wed Jul 19, 2006 3:44 pm

I think the your Problem is basically the same.
Take the memory_limit in the php.ini of your server higher. Then start the apache server new. I'm very likely that this is the fix for your problem.
User avatar
Sódóm
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Jul 11, 2006 7:12 pm

Re: Upload PvPlog

Postby Dreadan » Fri Jul 21, 2006 2:26 am

Sódóm wrote:I think the your Problem is basically the same.
Take the memory_limit in the php.ini of your server higher. Then start the apache server new. I'm very likely that this is the fix for your problem.


I don't have that option
Dreadan
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Jul 04, 2006 7:42 pm

Upload PvPlog

Postby Sykokaj » Wed Jul 26, 2006 2:47 pm

This made me think (damn you! :) )

How does it update PvP log data in Roster? Beucase if Roster only adds new PvP entries to the database, it would be safe to delete the pvplog.lua once it start to get big, and then just keep uploading.

On the other hand, if it removes old data and only upload what you have in your phplog.lua then this problem will show up more and more.

From what I can see in the log when you update it seems to only add new pvp entries - but it would be nice to get confirmation before I start deleting my pvplog.lua :)
/Khay
User avatar
Sykokaj
WR.net Apprentice
WR.net Apprentice
 
Posts: 13
Joined: Tue Jul 04, 2006 4:48 pm

Upload PvPlog

Postby zanix » Thu Jul 27, 2006 1:57 am

Sykokaj wrote:This made me think (damn you! :) )

How does it update PvP log data in Roster? Beucase if Roster only adds new PvP entries to the database, it would be safe to delete the pvplog.lua once it start to get big, and then just keep uploading.

On the other hand, if it removes old data and only upload what you have in your phplog.lua then this problem will show up more and more.

From what I can see in the log when you update it seems to only add new pvp entries - but it would be nice to get confirmation before I start deleting my pvplog.lua :)

Correct, it keeps adding entries

Just delete the ["PurgeLogData"] section in pvplog.lua
So you can keep your in-game info
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 General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron