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