WowRosterDF Updating LUA error[SOLVED BY MY SELF:P]

Dragonfly integration forum

WowRosterDF Updating LUA error[SOLVED BY MY SELF:P]

Postby ReDeR » Wed Sep 05, 2007 10:22 pm

Generally, most users will not need to do this but in cases where the web host disables reading from php's upload temp directory, this fix might help

First, create a directory in your roster folder
Give that new folder write permissions (chmod 777)
Remember the name of this directory


Open update.php
Find
PHP:

$data = ParseLuaFile( $file['tmp_name'],$file_type );


Replace with
(Changing REPLACE with the directory you created)
PHP:

$new_lua_file = ROSTER_BASE.'REPLACE'.DIR_SEP.$file['name'];
move_uploaded_file($file['tmp_name'],$new_lua_file);

// Parse the lua file into a php array that we can use
$data = ParseLuaFile( $new_lua_file,$file_type );

@unlink($new_lua_file);


If this does not fix this error, you may have a corrupt .lua file
I suggest deleting the file from your SavedVariables directory and rescan in-game


This Didnt helped 4 me .. i still geting DF error

Code: Select all
modules/WoWRosterDF/update.php

    * Warning line 155: unlink() [function.unlink]: No such file or directory
    * Warning line 155: unlink() [function.unlink]: No such file or directory

includes/db/db.php

    * CMS Warning line 75: On /index.php?name=WoWRosterDF&file=update While executing query "INSERT INTO `cms_wowrosterdf_roster_quests` SET `member_id` = '28', `quest_name` = 'The Videre Elixir', `quest_index` = '19', `quest_level` = '52', `zone` = 'Un\'Goro Crater', `quest_tag` = '', `is_complete` = '0'" the following error occured: Duplicate entry '28-The Videre Elixir' for key 1 In: /home/vol1000/if_965996/broherhood.ifastnet.com/htdocs/modules/WoWRosterDF/lib/wowdb.php on line: 96


Lua isnt corrupt and i cant find $data = ParseLuaFile( $file['tmp_name'],$file_type ); line (i tryed redownloading update.php)
Im using roster df 1.7.3 lastets charprof pvplog
Last edited by ReDeR on Thu Sep 06, 2007 1:11 am, edited 1 time in total.
ReDeR
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Fri Aug 31, 2007 9:33 pm

Re: WowRosterDF Updating LUA error

Postby ReDeR » Thu Sep 06, 2007 1:10 am

Problem was in quests. I abadoned it [SOLVED]
ReDeR
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Fri Aug 31, 2007 9:33 pm

WowRosterDF Updating LUA error[SOLVED BY MY SELF:P]

Postby zanix » Thu Sep 06, 2007 1:42 am

Please post in the correct forum
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 Dragonfly

Who is online

Users browsing this forum: No registered users and 1 guest

cron