Lottery Error

Mods etc.

Moderator: Integra Moderator

Lottery Error

PostAuthor: aoowais » Sat Jun 24, 2006 9:43 am

I don't know why some people don't get this error that I'm getting with the Lottery Mod 2.03

Warning: main(../language/lang_english/lang_lottery.php): failed to open stream: No such file or directory in /home/renjer/public_html/forum/admin/admin_lottery.php on line 46

Warning: main(../language/lang_english/lang_lottery.php): failed to open stream: No such file or directory in /home/renjer/public_html/forum/admin/admin_lottery.php on line 46

Warning: main(../language/lang_english/lang_lottery.php): failed to open stream: No such file or directory in /home/renjer/public_html/forum/admin/admin_lottery.php on line 46


I checked the code, there doesn't seem to be a lang_lottery.php file at all. Please help.
Last edited by aoowais on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

aoowais
Members
Members
 
Posts: 38
Likes: 0 post
Liked in: 0 post
Joined: Thu Jun 01, 2006 2:22 am
Cash on hand: 0.00

Re: Lottery Error

PostAuthor: Cutter » Sat Jun 24, 2006 11:20 am

Code: Select all
#-----[ OPEN ]------------------------------------------ # language/lang_*/lang_main.php  # #-----[ FIND ]------------------------------------------ #?>  ##-----[ BEFORE, ADD ]------------------------------------------ #// Lottery Variables$lang['lottery_second'] = 'Second';$lang['lottery_seconds'] = 'Seconds';$lang['lottery_minute'] = 'Minute';$lang['lottery_minutes'] = 'Minutes';$lang['lottery_hour'] = 'Hour';$lang['lottery_hours'] = 'Hours';$lang['lottery_day'] = 'Day';$lang['lottery_days'] = 'Days';$lang['lottery_current_history'] = 'Current History';$lang['lottery_no_history'] = 'There is currently no history recorded!';$lang['lottery_history_disabled'] = 'Lottery history is disabled on these forums!';$lang['lottery_ticket_bought'] = 'Your ticket in the %s has been successfully purchased.';$lang['lottery_tickets_bought'] = 'Your %s tickets in the %s have been successfully purchased.';$lang['lottery_purchased_ticket'] = ' to purchase a ticket!';$lang['lottery_purchased_tickets'] = ' to purchase %s tickets!';$lang['lottery_purchased_ne'] = 'You do not have enough ';$lang['lottery_too_many_tickets'] = 'You have already purchased the maximum amount of tickets allowed in this lottery! Please wait until the next draw.';$lang['lottery_information'] = 'Information';$lang['lottery_actions'] = 'Lottery Actions';$lang['lottery_disabled'] = 'The lottery is currently turned off!<br><br>Try again later.';$lang['lottery_ID'] = 'ID';$lang['lottery_winner'] = 'Winner';$lang['lottery_amount_won'] = 'Amount Won';$lang['lottery_time_won'] = 'Time Won';$lang['lottery_total_history'] = 'There are a total of %s lottery history entries.';$lang['lottery_history'] = 'History';$lang['lottery_tickets_owned'] = 'Tickets Owned';$lang['lottery_ticket_cost'] = 'Ticket Cost';$lang['lottery_base_pool'] = 'Base Prize Pool';$lang['lottery_current_entries'] = 'Current Entries';$lang['lottery_total_pool'] = 'Total Prize Pool';$lang['lottery_item_draw'] = 'Items in Draw';$lang['lottery_time_draw'] = 'Time Until Drawn';$lang['lottery_last_winner'] = 'Last Winner';$lang['lottery_buy_ticket'] = 'Buy Ticket';$lang['lottery_buy_tickets'] = 'Buy Tickets';$lang['lottery_view_history'] = 'View Lottery History';$lang['lottery_view_phistory'] = 'View Personal History';$lang['lottery'] = 'Lottery';  // Lottery Error Variables$lang['lottery_error_updating'] = 'Error updating %s table!';$lang['lottery_error_deleting'] = 'Error deleting from %s table!';$lang['lottery_error_selecting'] = 'Error getting information from %s table!';$lang['lottery_error_inserting'] = 'Error inserting into %s table!';$lang['lottery_error_variable'] = 'Could not read %s variable!';$lang['lottery_invalid_command'] = 'That is not a valid command!';$lang['lottery_no_history_type'] = 'No history type selected!';  # #-----[ OPEN ]------------------------------------------ # language/lang_*/lang_admin.php  # #-----[ FIND ]------------------------------------------ #?>  ##-----[ BEFORE, ADD ]------------------------------------------ #// Lottery Variables$lang['lottery_second'] = 'Second';$lang['lottery_seconds'] = 'Seconds';$lang['lottery_minute'] = 'Minute';$lang['lottery_minutes'] = 'Minutes';$lang['lottery_hour'] = 'Hour';$lang['lottery_hours'] = 'Hours';$lang['lottery_day'] = 'Day';$lang['lottery_days'] = 'Days';$lang['lottery_no_items'] = 'There are no items in the shop database!';$lang['lottery_rand'] = 'Random';$lang['lottery_statistics'] = 'Lottery Statistics';$lang['lottery_edit_settings'] = 'Edit Lottery Settings';$lang['lottery_no_one'] = 'No One';$lang['lottery_editor'] = 'Lottery Editor';$lang['lottery_index_explain'] = 'This section allows you to edit the lottery settings.';$lang['lottery_no_item'] = 'No such item exists!';$lang['lottery_invalid_action'] = 'Invalid Action!';$lang['lottery_click_to_return'] = 'Click %sHere%s to return to Lottery Settings.';$lang['lottery_random_items_updated'] = 'Random item settings sucessfully updated!';$lang['lottery_item_added'] = 'Item successfully added to item pool!';$lang['lottery_item_removed'] = 'Item successfully removed from item pool!';$lang['lottery_updated'] = 'Lottery sucessfully updated!';$lang['lottery_status'] = 'Lottery Status';$lang['lottery_add_item'] = 'Add Item';$lang['lottery_add_items'] = 'Add Item to Pool';$lang['lottery_remove_item'] = 'Remove Item';$lang['lottery_current_items'] = 'Current Item Pool';$lang['lottery_update_settings'] = 'Update Settings';$lang['lottery_max_cost'] = 'Maximum Cost';$lang['lottery_min_cost'] = 'Minimum Cost';$lang['lottery_all_shops'] = 'All Shops';$lang['lottery_from_shop'] = 'From Shop';$lang['lottery_update'] = 'Update';$lang['lottery_currency'] = 'Currency to Use';$lang['lottery_history'] = 'Lottery History';$lang['lottery_item_pool'] = 'Item Pool';$lang['lottery_full_display'] = 'Full Display';$lang['lottery_max'] = 'max';$lang['lottery_off'] = 'Off';$lang['lottery_on'] = 'On';$lang['lottery_mult_tickets'] = 'Multiple Tickets';$lang['lottery_multiple'] = 'Multiple';$lang['lottery_single'] = 'Single';$lang['lottery_tickets_allowed'] = 'Tickets Allowed';$lang['lottery_draw_periods'] = 'Lottery Draw Periods';$lang['lottery_entry_cost'] = 'Entry Cost';$lang['lottery_base_amount'] = 'Lottery Base Amount';$lang['lottery_name'] = 'Lottery Name';$lang['lottery_auto_restart'] = 'Auto Restart';$lang['lottery_last_won'] = 'Last Won';$lang['lottery_pool'] = 'Lottery Pool';$lang['lottery_time_left'] = 'Time Left';$lang['lottery_duration_left'] = 'Duration Left';$lang['lottery_total_entries'] = 'Total Entries';$lang['lottery_items_table'] = 'Edit Item Pool';$lang['lottery_items_settings'] = 'Edit Item Settings';  // Lottery Error Variables$lang['lottery_error_updating'] = 'Error updating %s table!';$lang['lottery_error_deleting'] = 'Error deleting from %s table!';$lang['lottery_error_selecting'] = 'Error getting information from %s table!';$lang['lottery_error_inserting'] = 'Error inserting into %s table!';$lang['lottery_error_variable'] = 'Could not read %s variable!';


didi you edit the two lang files above?
Last edited by Cutter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Cutter
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Tue May 09, 2006 9:01 am
Cash on hand: 0.00

Re: Lottery Error

PostAuthor: aoowais » Sat Jun 24, 2006 5:11 pm

[url=http]Lottery Mod by Lazar[/url]

I think it was my mistake by updating the lottery file with this one.

Still Lazar's site is down, does anyone here host his lottery installation file?
Last edited by aoowais on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

aoowais
Members
Members
 
Posts: 38
Likes: 0 post
Liked in: 0 post
Joined: Thu Jun 01, 2006 2:22 am
Cash on hand: 0.00


Return to IntegraMOD Modifications

Who is online

Registered users: Bing [Bot], Vendethiel

cron