OK some background info
I was having problems uploading large .lua's (1.3Meg+) it would come up with a black screen and said done on status bar. after reading allot on the forums I have made following changes.
PHP.INI
increased file size to 4M
Increased mem allocation from 8M to 16M
Changed Update.php to fix upload directory as suggested here
forum post
Also made changes to luaparser.php and update.php as posted here
Forum Post
Current issue that I have now (Blank screen is gone BTW)
small files below 1M seem to work most of the time and occasionally I get an error similar to what I have posted below, hitting the refresh button on the browse will take care of it and it will load and parse on the second time.
1M-1.3M file this happens more often. at 1.4M it will not go away no matter how many times I refresh I can't get past it, and with all 10 characters in my .lua I am pushing the 2M envelope.
Pleas help
Here is the top few lines of the beginning to an error that outputs what appears to be my entire .lua
SQL:
SELECT `member_id` FROM `roster_members` WHERE `name` = 'Morgain'
File: update_trigger_lib.php
Line: 41
Backtrace (most recent call last):
* File: /var/www/wowguild/roster/lib/commonfunctions.lib.php
o line 248
o function called: backtrace
* File: /var/www/wowguild/roster/lib/update_trigger_lib.php
o line 41
o function called: die_quietly
o args: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111), Database Error, update_trigger_lib.php, 41, SELECT `member_id` FROM `roster_members` WHERE `name` = 'Morgain'
* File: /var/www/wowguild/roster/update.php
o line 261
o function called: start_update_trigger
o args: Morgain, char, Array ( [Guild] => Array ( [Title] => Vassal [Name] => MelloMountaineers [Rank] => 2 ) [Mana] => 2614 [Locale] => enUS [Race] => Human [Power] => Mana [Reputation] => Array ( [Other] => Array ( [Bloodsail Buccaneers] => Array ( [Value] => 34500:36000 [AtWar] => 1 [Standing] => Hated ) [Darkmoon Faire] => Array ( [Value] => 0:3000 [AtWar] => 0 [Standing] => Neutral ) [Argent Dawn] => Array ( [Value] => 200:3000 [AtWar] => 0 [Standing] => Neutral ) ) [Alliance Forces] => Array ( [The League of Arathor] => Array ( [Value] => 0:3000 [AtWar] => 0 [Standing] => Neutral ) ) [Count] => 17 [Steamwheedle Cartel] => Array ( [Everlook] => Array ( [Value] => 846:3000 [AtWar] => 0 [Standing] => Neutral ) [Ratchet] => Array ( [Value] => 1071:3000 [AtWar] => 0 [Standing] => Neutral ) [Gadgetzan] => Array ( [Value] => 846:3000 [AtWar] => 0 [Standing] => Neutral ) [Booty Bay] => Array ( [Value] => 967:3000 [AtWar] => 0 [Standing] => Neutral ) ) [Alliance] => Array ( [Exodar] => Array ( [Value] => 82:6000 [AtWar] => 0 [Standing] => Friendly ) [Ironforge] => Array ( [Value] => 4592:6000 [AtWar] => 0 [Standing] => Friendly ) [Stormwind] => Array ( [Value] => 8515:12000 [AtWar] => 0 [Standing] => Honored ) [Gnomeregan Exiles] => Array ( [Value] => 3501:6000 [AtWar] => 0 [Standing] => Friendly ) [Darnassus] => Array ( [Value] => 3437:6000 [AtWar] => 0 [Standing] => Friendly ) ) ) [FactionEn] => Alliance [Equipment] => Array ( [Ranged] => Array ( [Item] => 5213:0:0:0:0:0:0:0 [Color] => 1eff00 [Tooltip] => Scorching Wand
Soulbound
Ranged Wand