vGallery Line 16 Error - Druckversion +- MyBB.de Forum (https://www.mybb.de/forum) +-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html) +--- Forum: Plugin-Diskussionen (https://www.mybb.de/forum/forum-38.html) +--- Thema: vGallery Line 16 Error (/thread-14952.html) Seiten: Seiten:
1
2
|
vGallery Line 16 Error - PatrickGER - 01.11.2009 vGallery Fatal error: require_once() [function.require]: Failed opening required 'vgallery/put_title.php' (include_path='.:/srv/www/httpd/phost/g/de/pytalhost/gamesportal/web') in /srv/www/httpd/phost/g/de/pytalhost/gamesportal/web/vgallery.php on line 16 vgallery.php (Größe: 26,33 KB / Downloads: 2) RE: vGallery Line 16 Error - Manuel - 01.11.2009 Die Datei put_title.php scheint nicht in dem Ordner zu sein, in den sie reinmuss. Du hattest doch mittlerweile schon mehrere Failed opening required 'filename.filetype' Fehler... solltest es ja mittlerweile wissen. RE: vGallery Line 16 Error - PatrickGER - 01.11.2009 Wenn ich alles so mache wie hier:https://www.mybb.de/forum/thread-13057-page-3.html kommt das hier: Login Register!"); define("_GUEST","Guest"); define("_ADD","Add"); define("_SEARCH","Search"); define("_TIMESWATCHED","times watched"); define("_VOTE","Votes"); define("_POINT","Points"); define("_DOWNLOAD_NOTE","To download this video:right clik here and click on Save Target As. Clean get_video and write video.avi and than press Save!"); ##1.3.x define("_READ_COMMENT","Comments"); define("_READ_DATE","Date"); define("_CATEGORYADDSUCCESS","Category is added successfully!"); define("_IO_VIDTYPE","Video Tipi"); #define("",""); define("_JANUARY","January"); define("_FEBRUARY","February"); define("_MARCH","March"); define("_APRIL","April"); define("_MAY","May"); define("_JUNE","June"); define("_JULY","July"); define("_AUGUST","August"); define("_SEPTEMBER","September"); define("_OCTOBER","October"); define("_NOVEMBER","November"); define("_DECEMBER","December"); ######## 1.0.0 #################### define("F_NOCOMMENT","There is no comment ! "); define("F_COMMENTLAST","Last"); define("F_COMMENT","Comments"); define("F_MORE","more"); define("F_EMPTYMSG","There is no video in database. Please add some new videos!"); define("F_DBERR","ERRORatabase is empty or mysql query failed"); define("F_APPROVAL","Waiting Approval"); define("_ADMIN","Admin"); define("_EDIT","Edit"); define("_DELETE","Delete"); define("_PREVIOUS","Previous Page"); define("_NEXT","Next Page"); define("_YOURNAME","Your name"); define("_SORTASC","Sort Ascending"); define("_SORTDESC","Sort Descending"); define("_CANCEL","Cancel"); define("_YES","Yes"); define("_NO","No"); define("_SCORE","Score:"); define("_REPLYMAIN","Add Comment"); define("_ALLOWEDHTML","Allowed HTML:"); define("_POSTANON","Post Anonymously"); define("_WRITEPOEM","Add Video"); define("_WRITEPOEMFOR","Add Video:"); define("_ENTERINFO","Please enter some information"); define("_PRODUCTTITLE","Video name"); define("_NAMEPRODUCT","Example: Vitadin Chat"); define("_REVIEW","Video"); define("_CHECKREVIEW","Full text. Please correct your full text!"); define("_FULLNAMEREQ","Full name is required."); define("_SELECTSCORE","Score"); define("_LINKTITLE","Link Title"); define("_INVALIDHITS","Invalid hit!"); define("_ADDED","Added"); define("_REVIEWER","Sender:"); define("_HITS","Hits"); define("_LOOKSRIGHT","Looks right?"); define("_RMODIFIED","modified"); define("_RADDED","added"); define("_MODIFICATION","modification"); define("_EDITORWILLLOOK","Editor will view you submission."); define("_PBACK","Page Back"); define("_YOURNICK","Your Nickname:"); define("_RCREATEACCOUNT","Register"); define("_YOURCOMMENT","Your comment:"); define("_MYSCORE","My score:"); define("_REVIEWMOD","Review Modification"); define("_RDATE","Date:"); define("_RTITLE","Title:"); define("_RTEXT","Text:"); define("_REVEMAIL","Email:"); define("_RLINK","Site URL:"); define("_COVERIMAGE","Cover image:"); define("_PREMODS","Preview modification"); define("_PAGE","Page"); define("_PREVIEW","Preview"); define("_SENDER","Sender:"); define("_IO_PAGETITLE","Videos"); define("_IO_TOP1","Top 20 Videos"); define("_IO_TOP2","Last 20 Videos"); define("_IO_ALL_TEXTS","Total videos :"); define("_OI_SEND_TEXT","Send Video"); define("_IO_REQUIRED","Required"); define("_IO_TITLE","Video Title"); define("_IO_SEND","Send"); define("_IO_CLEAR","Clear"); define("_IO_FALSE","An error occured while trying to connect db. Please try again later."); define("_IO_LESS_INFO","You didnt fill in the form. Please go back and fill them. [ Go Back ]"); define("_IO_THANKS","Thanks. Your video will be shown as soon as posible."); define("_IO_WAITING","Videos waiting for confirmation :"); define("_IO_THANKS_ADMIN","Video has been added to db without any confirmation.Admin priviliges ."); define("_IO_NO","No"); define("_IO_AUTHOR_TEXT","Videos"); define("_IO_ALL_TEXT","All Videos"); define("_IO_SUNDAY","Sunday"); define("_IO_MONDAY","Monday"); define("_IO_TUESDAY","Tuesday"); define("_IO_WEDNESDAY","Wednesday"); define("_IO_THURSDAY","Thursday"); define("_IO_FRIDAY","Friday"); define("_IO_SATURDAY","Saturday"); define("_IO_NO_VOTES","No votes"); define("_IO_SENDER","Sender"); define("_IO_READS","Views"); define("_IO_RATE","Rate"); define("_IO_BACK","Go Back"); define("_IO_WELCOME","Videos"); define("_IO_JAVA_BACK","[ Go Back ]"); define("_IO_COMMENTS","Comments"); define("_IO_SEARCH_PAGE","Search Page"); define("_IO_LTR","videos, starts with this letter"); define("_IO_SEARCH_RESULTS","Search Results"); define("_IO_FOUND","Found"); define("_IO_ADD_DATE","Date Added"); define("_IO_SEND_YF","Send your friend"); define("_IO_PRINT_IT","."); define("_IO_DIRECTING","Redirecting... Please wait."); define("_IO_NO_TWO_TIMES","You cannot rate a video two times!"); define("_IO_THANKS_FOR_VOTE","Thanks for voting!"); define("_IO_SUBMIT","Submit"); define("_IO_REVIEWCOMMENT","Add Comment"); define("_IO_THANKS_COMMENT","Thanks for your comment."); define("_IO_COMMENT_LATER","Comments will be added after confirmed by an admin."); define("_IO_NOT_SELECTED","You didnt select any search criteria."); #################### index.php #################### define("_IO_WRITE_TEXT_ADMIN",""); define("_IO_ORDERBY_RATE","Order by Rate"); define("_IO_ORDERBY_TITLE","Order by Title"); define("_IO_ORDERBY_HIT","Order by Hits"); define("_IO_ORDERBY_SENDER","Order by Sender"); define("_IO_TEXT","Video"); define("_IO_READ","View"); define("_IO_TEXT22","Video URL"); #################### friend.php #################### define("_IO_FRIEND_TITLE","Send Video to your friends"); define("_IO_F_TEXT1","fill this form to send this video to your friend."); define("_IO_YOUR_NAME","Your Name"); define("_IO_YOUR_EMAIL","Your Email"); define("_IO_FRIEND_NAME","Friend Name"); define("_IO_FRIEND_EMAIL","Friend Email"); define("_IO_FRIEND_SENDED","Video has been sent to your friend."); define("_IO_SELAM","Hi"); define("_IO_F_TEXT2","like this video and sent it to you."); define("_IO_F_SUBJECT","Tube Video Gallery"); #################### lib.php #################### define("_IO_N_MAIN","Videos Home"); define("_IO_N_ADD_TEXT","Submit Video"); define("_IO_N_ALL_TEXT","All Videos"); define("_IO_N_SEARCH_PAGE","Search Page"); define("_IO_N_TOP","Top"); define("_IO_N_RANDOM","Random Video"); define("_IO_REGISTERED_TEXT","Videos"); define("_IO_SEARCH_IN_TITLE","Search in title"); define("_IO_BEST_OF","Best Videos"); #################### read.php #################### define("_IO_TOP","Top Videos"); define("_IO_MOST_READ","Most Viewed"); define("_IO_MOST_VOTED","Most Voted"); define("_IO_MOST_RATED","Most Rated"); define("_IO_RECENTLY_ADDED","Recently Added"); define("_IO_IN_AVG","In Average"); define("_IO_IN_TOTAL","In Total"); define("_IO_GIVE_RATE","Rate This Video"); #################### admin.php #################### define("_IO_ADMIN_TITLE","Video Admin Panel"); define("_IO_ADMIN_WAITING_TEXT","Awaiting Activation"); define("_IO_ADMIN_OK","Activate"); define("_IO_ADDED_TEXT","Video"); define("_IO_COMMENT","Comment"); define("_IO_ADMIN_EDIT_TEXT","Edit Video"); define("_IO_ADMIN_EDIT_THANKS","Editing succesfully done."); define("_IO_ADMIN_EDIT_FALSE","ERROR:Edit failed."); define("_IO_SAVE","Save"); define("_IO_CONFIG","Plugin Configuration"); define("_IO_INDEX_PAGE_ITEMS","Number of items shown on the videos index page"); define("_IO_LIST_PAGE_ITEMS","Number of items shown on the all videos page"); define("_IO_TOP_PAGE_ITEMS","Number of items shown on the best videos page"); define("_IO_ISSET_THEME","is there a thame made for videos plugin?(Do not change this setting!)"); define("_IO_ALLOW_ANONYMOUS","Allow anonymous sending"); define("_IO_ALLOW_DIRECT","Allow sending comments without activation? (Default: Yes)"); define("_IO_LESS_VOTE","How many votes does a video need to be shown in the best videos page?"); define("_IO_QUERY_ERROR","Query error."); define("_IO_CONFIG_UPDATE_OK","Configurations updated succesfully."); define("_IO_ADD_NEW_TEXT","Add New Video"); define("_IO_WAITING_COMMENT","Awaiting Activation Comments"); define("_IO_NO_ADDED_TEXT","No new video"); define("_IO_NO_ADDED_COMMENT","No new comment"); define("_IO_TOTAL_VOTE","Total Vote"); define("_IO_TOTAL_POINT","Total Point"); #################### print.php #################### define("_IO_PRINT_URL","Video URL"); #################### search.php #################### define("_IO_NOT_FOUND","Not found in database"); define("_IO_IN_PAGE","in page"); define("_IO_RECORD","record"); define("_IO_TOTAL","Total"); define("_IO_SEARCH_WORD","Search Word"); ?>"; echo " " ."[ "._IO_ADMIN_TITLE." | Yeni Video Ekle] ]" ." "; } } function module_header() { global $isset_theme, $module_url, $top_page_items; include("header.php"); if ($isset_theme == 0) { OpenTable(); echo " [ "._IO_N_MAIN." ] \n" ." [ "._IO_N_ALL_TEXT." ] \n" ." [ "._IO_N_SEARCH_PAGE." ] \n" ." [ "._IO_BEST_OF." ] \n" ." [ "._IO_N_RANDOM." ] \n"; CloseTable(); echo " "; } } function module_header55() { global $isset_theme, $module_url, $top_page_items; include("header.php"); if ($isset_theme == 0) { } } function alpha($type) { global $module_name, $isset_theme, $top_page_items, $admin_url, $admin, $module_url, $hm_index; $file_url = "$module_url?&op=text_list"; $title = _IO_N_ALL_TEXT; $hm_index = " $title "; $alphabet = array ("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"); $num = count($alphabet) - 1; $hm_index .= " [ "; $counter = 0; while (list(, $ltr) = each($alphabet)) { $hm_index .= " [\"$ltr\"] "; if ( $counter == round($num/2) ) { $hm_index .= " ]\n \n[ "; } elseif ( $counter != $num ) { $hm_index .= " | \n"; } $counter++; } $hm_index .= " ] \n"; $hm_index .= " "; $hm_index .= " \n"; } function alpha_search($query) { global $module_url, $hm_index; $hm_index = " " ._IO_SEARCH_WORD." : "; } function display_score($score) { global $hm_index; $image = "\"\""; $halfimage = "\"\""; $full = "\"\""; if ($score == 10) { for ($i=0; $i < 5; $i++) $hm_index .= "$full"; } else if ($score % 2) { $score -= 1; $score /= 2; for ($i=0; $i < $score; $i++) $hm_index .= "$image"; $hm_index .= "$halfimage"; } else { $score /= 2; for ($i=0; $i < $score; $i++) $hm_index .= "$image"; } } function display_vote($voter, $vote) { if ($voter != 0 && $vote != 0) { $rate1 = $vote / $voter; if ($rate1 == 0) $rate1 = 1; $rate = " [\""] "; } else { $rate = _IO_NO_VOTES; } return $rate; } function tarih_format($date) { if ($date) { $yil = substr($date,0,4); $ay = substr($date,5,2); $gun = substr($date,8,2); $tarih = mktime(0,0,0,$ay,$gun,$yil); $days = array(); $months = array(_JANUARY,_FEBRUARY,_MARCH,_APRIL,_MAY,_JUNE,_JULY,_AUGUST,_SEPTEMBER,_OCTOBER,_NOVEMBER,_DECEMBER); $buay = date("n", $tarih) - 1; $bugun = date("w", $tarih); $bugun1 = date("j", $tarih); $son = $bugun1 . " " . $months[$buay] . " " . $yil . " " . $days[$bugun]; return $son; } else { return 0; } } function page_nav($tp, $page, $url) { global $module_name, $hm_index; $hm_index .= " \n"; if (($page != 1) && ($tp > 1)){ $hm_index .= "\""._PREVIOUS."\" "; } if ($tp > 1) { for ($i=1 ; $i <= $tp ; $i++){ if($i != $page){ $hm_index .= " ".$i." "; } else { $hm_index .= " $i "; } } } if (($page != $tp) && ($tp > 1)){ $hm_index .= " \""._NEXT."\""; } $hm_index .= " \n"; } ?> MyBB SQL Error MyBB has experienced an internal SQL error and cannot continue. SQL Error: 1146 - Table 'phost141783.mybb_' doesn't exist Query: SELECT * FROM mybb_ ORDER BY id Please contact the MyBB Group for support. RE: vGallery Line 16 Error - Michael - 02.11.2009 Hast du die Datei mal neu hochgeladen? Denn PHP-Code dürfte niemals ausgegeben werden. RE: vGallery Line 16 Error - PatrickGER - 02.11.2009 Ja habe ich, es kommt immer noch das gleiche. RE: vGallery Line 16 Error - Michael - 03.11.2009 Am besten wendest du dich damit an den Autor der Erweiterung. Möglicherweise weiß er dazu mehr. RE: vGallery Line 16 Error - PatrickGER - 03.11.2009 Ganz unten steht auf jedenfall MyBB has experienced an internal SQL error and cannot continue. SQL Error: 1146 - Table 'phost141783.mybb_' doesn't exist Query: SELECT * FROM mybb_ ORDER BY id Heißt das das es für 1.4.x nicht gibt ? RE: vGallery Line 16 Error - StefanT - 03.11.2009 Nein, das ist ein Fehler im Skript. Wende dich an den Autor... RE: vGallery Line 16 Error - PatrickGER - 03.11.2009 Ok ich habe ihm eine Email in schlechten englisch geschrieben und ihm gleich den Pfad mit /vgaller.php gegeben ich hoffe er kann mir helfen. Das habe ich ihm gesendet: Hello! Sorry for the Bad english, i dont speak english Your Plugin Tube video Gallery Doesent work at my Forum Please Help me http://mods.mybboard.net/view/tube-video-gallery-plugin (Gamesportal.pytalhost.de/vgallery.php) <~ here you can see the Error Message. i become this message: Login Register!"); define("_GUEST","Guest"); define("_ADD","Add"); define("_SEARCH","Search"); define("_TIMESWATCHED","times watched"); define("_VOTE","Votes"); define("_POINT","Points"); define("_DOWNLOAD_NOTE","To download this video:right clik here and click on Save Target As. Clean get_video and write video.avi and than press Save!"); ##1.3.x define("_READ_COMMENT","Comments"); define("_READ_DATE","Date"); define("_CATEGORYADDSUCCESS","Category is added successfully!"); define("_IO_VIDTYPE","Video Tipi"); #define("",""); define("_JANUARY","January"); define("_FEBRUARY","February"); define("_MARCH","March"); define("_APRIL","April"); define("_MAY","May"); define("_JUNE","June"); define("_JULY","July"); define("_AUGUST","August"); define("_SEPTEMBER","September"); define("_OCTOBER","October"); define("_NOVEMBER","November"); define("_DECEMBER","December"); ######## 1.0.0 #################### define("F_NOCOMMENT","There is no comment ! "); define("F_COMMENTLAST","Last"); define("F_COMMENT","Comments"); define("F_MORE","more"); define("F_EMPTYMSG","There is no video in database. Please add some new videos!"); define("F_DBERR","ERRORatabase is empty or mysql query failed"); define("F_APPROVAL","Waiting Approval"); define("_ADMIN","Admin"); define("_EDIT","Edit"); define("_DELETE","Delete"); define("_PREVIOUS","Previous Page"); define("_NEXT","Next Page"); define("_YOURNAME","Your name"); define("_SORTASC","Sort Ascending"); define("_SORTDESC","Sort Descending"); define("_CANCEL","Cancel"); define("_YES","Yes"); define("_NO","No"); define("_SCORE","Score:"); define("_REPLYMAIN","Add Comment"); define("_ALLOWEDHTML","Allowed HTML:"); define("_POSTANON","Post Anonymously"); define("_WRITEPOEM","Add Video"); define("_WRITEPOEMFOR","Add Video:"); define("_ENTERINFO","Please enter some information"); define("_PRODUCTTITLE","Video name"); define("_NAMEPRODUCT","Example: Vitadin Chat"); define("_REVIEW","Video"); define("_CHECKREVIEW","Full text. Please correct your full text!"); define("_FULLNAMEREQ","Full name is required."); define("_SELECTSCORE","Score"); define("_LINKTITLE","Link Title"); define("_INVALIDHITS","Invalid hit!"); define("_ADDED","Added"); define("_REVIEWER","Sender:"); define("_HITS","Hits"); define("_LOOKSRIGHT","Looks right?"); define("_RMODIFIED","modified"); define("_RADDED","added"); define("_MODIFICATION","modification"); define("_EDITORWILLLOOK","Editor will view you submission."); define("_PBACK","Page Back"); define("_YOURNICK","Your Nickname:"); define("_RCREATEACCOUNT","Register"); define("_YOURCOMMENT","Your comment:"); define("_MYSCORE","My score:"); define("_REVIEWMOD","Review Modification"); define("_RDATE","Date:"); define("_RTITLE","Title:"); define("_RTEXT","Text:"); define("_REVEMAIL","Email:"); define("_RLINK","Site URL:"); define("_COVERIMAGE","Cover image:"); define("_PREMODS","Preview modification"); define("_PAGE","Page"); define("_PREVIEW","Preview"); define("_SENDER","Sender:"); define("_IO_PAGETITLE","Videos"); define("_IO_TOP1","Top 20 Videos"); define("_IO_TOP2","Last 20 Videos"); define("_IO_ALL_TEXTS","Total videos :"); define("_OI_SEND_TEXT","Send Video"); define("_IO_REQUIRED","Required"); define("_IO_TITLE","Video Title"); define("_IO_SEND","Send"); define("_IO_CLEAR","Clear"); define("_IO_FALSE","An error occured while trying to connect db. Please try again later."); define("_IO_LESS_INFO","You didnt fill in the form. Please go back and fill them. [ Go Back ]"); define("_IO_THANKS","Thanks. Your video will be shown as soon as posible."); define("_IO_WAITING","Videos waiting for confirmation :"); define("_IO_THANKS_ADMIN","Video has been added to db without any confirmation.Admin priviliges ."); define("_IO_NO","No"); define("_IO_AUTHOR_TEXT","Videos"); define("_IO_ALL_TEXT","All Videos"); define("_IO_SUNDAY","Sunday"); define("_IO_MONDAY","Monday"); define("_IO_TUESDAY","Tuesday"); define("_IO_WEDNESDAY","Wednesday"); define("_IO_THURSDAY","Thursday"); define("_IO_FRIDAY","Friday"); define("_IO_SATURDAY","Saturday"); define("_IO_NO_VOTES","No votes"); define("_IO_SENDER","Sender"); define("_IO_READS","Views"); define("_IO_RATE","Rate"); define("_IO_BACK","Go Back"); define("_IO_WELCOME","Videos"); define("_IO_JAVA_BACK","[ Go Back ]"); define("_IO_COMMENTS","Comments"); define("_IO_SEARCH_PAGE","Search Page"); define("_IO_LTR","videos, starts with this letter"); define("_IO_SEARCH_RESULTS","Search Results"); define("_IO_FOUND","Found"); define("_IO_ADD_DATE","Date Added"); define("_IO_SEND_YF","Send your friend"); define("_IO_PRINT_IT","."); define("_IO_DIRECTING","Redirecting... Please wait."); define("_IO_NO_TWO_TIMES","You cannot rate a video two times!"); define("_IO_THANKS_FOR_VOTE","Thanks for voting!"); define("_IO_SUBMIT","Submit"); define("_IO_REVIEWCOMMENT","Add Comment"); define("_IO_THANKS_COMMENT","Thanks for your comment."); define("_IO_COMMENT_LATER","Comments will be added after confirmed by an admin."); define("_IO_NOT_SELECTED","You didnt select any search criteria."); #################### index.php #################### define("_IO_WRITE_TEXT_ADMIN",""); define("_IO_ORDERBY_RATE","Order by Rate"); define("_IO_ORDERBY_TITLE","Order by Title"); define("_IO_ORDERBY_HIT","Order by Hits"); define("_IO_ORDERBY_SENDER","Order by Sender"); define("_IO_TEXT","Video"); define("_IO_READ","View"); define("_IO_TEXT22","Video URL"); #################### friend.php #################### define("_IO_FRIEND_TITLE","Send Video to your friends"); define("_IO_F_TEXT1","fill this form to send this video to your friend."); define("_IO_YOUR_NAME","Your Name"); define("_IO_YOUR_EMAIL","Your Email"); define("_IO_FRIEND_NAME","Friend Name"); define("_IO_FRIEND_EMAIL","Friend Email"); define("_IO_FRIEND_SENDED","Video has been sent to your friend."); define("_IO_SELAM","Hi"); define("_IO_F_TEXT2","like this video and sent it to you."); define("_IO_F_SUBJECT","Tube Video Gallery"); #################### lib.php #################### define("_IO_N_MAIN","Videos Home"); define("_IO_N_ADD_TEXT","Submit Video"); define("_IO_N_ALL_TEXT","All Videos"); define("_IO_N_SEARCH_PAGE","Search Page"); define("_IO_N_TOP","Top"); define("_IO_N_RANDOM","Random Video"); define("_IO_REGISTERED_TEXT","Videos"); define("_IO_SEARCH_IN_TITLE","Search in title"); define("_IO_BEST_OF","Best Videos"); #################### read.php #################### define("_IO_TOP","Top Videos"); define("_IO_MOST_READ","Most Viewed"); define("_IO_MOST_VOTED","Most Voted"); define("_IO_MOST_RATED","Most Rated"); define("_IO_RECENTLY_ADDED","Recently Added"); define("_IO_IN_AVG","In Average"); define("_IO_IN_TOTAL","In Total"); define("_IO_GIVE_RATE","Rate This Video"); #################### admin.php #################### define("_IO_ADMIN_TITLE","Video Admin Panel"); define("_IO_ADMIN_WAITING_TEXT","Awaiting Activation"); define("_IO_ADMIN_OK","Activate"); define("_IO_ADDED_TEXT","Video"); define("_IO_COMMENT","Comment"); define("_IO_ADMIN_EDIT_TEXT","Edit Video"); define("_IO_ADMIN_EDIT_THANKS","Editing succesfully done."); define("_IO_ADMIN_EDIT_FALSE","ERROR:Edit failed."); define("_IO_SAVE","Save"); define("_IO_CONFIG","Plugin Configuration"); define("_IO_INDEX_PAGE_ITEMS","Number of items shown on the videos index page"); define("_IO_LIST_PAGE_ITEMS","Number of items shown on the all videos page"); define("_IO_TOP_PAGE_ITEMS","Number of items shown on the best videos page"); define("_IO_ISSET_THEME","is there a thame made for videos plugin?(Do not change this setting!)"); define("_IO_ALLOW_ANONYMOUS","Allow anonymous sending"); define("_IO_ALLOW_DIRECT","Allow sending comments without activation? (Default: Yes)"); define("_IO_LESS_VOTE","How many votes does a video need to be shown in the best videos page?"); define("_IO_QUERY_ERROR","Query error."); define("_IO_CONFIG_UPDATE_OK","Configurations updated succesfully."); define("_IO_ADD_NEW_TEXT","Add New Video"); define("_IO_WAITING_COMMENT","Awaiting Activation Comments"); define("_IO_NO_ADDED_TEXT","No new video"); define("_IO_NO_ADDED_COMMENT","No new comment"); define("_IO_TOTAL_VOTE","Total Vote"); define("_IO_TOTAL_POINT","Total Point"); #################### print.php #################### define("_IO_PRINT_URL","Video URL"); #################### search.php #################### define("_IO_NOT_FOUND","Not found in database"); define("_IO_IN_PAGE","in page"); define("_IO_RECORD","record"); define("_IO_TOTAL","Total"); define("_IO_SEARCH_WORD","Search Word"); ?>"; echo " " ."[ "._IO_ADMIN_TITLE." | Yeni Video Ekle] ]" ." "; } } function module_header() { global $isset_theme, $module_url, $top_page_items; include("header.php"); if ($isset_theme == 0) { OpenTable(); echo " [ "._IO_N_MAIN." ] \n" ." [ "._IO_N_ALL_TEXT." ] \n" ." [ "._IO_N_SEARCH_PAGE." ] \n" ." [ "._IO_BEST_OF." ] \n" ." [ "._IO_N_RANDOM." ] \n"; CloseTable(); echo " "; } } function module_header55() { global $isset_theme, $module_url, $top_page_items; include("header.php"); if ($isset_theme == 0) { } } function alpha($type) { global $module_name, $isset_theme, $top_page_items, $admin_url, $admin, $module_url, $hm_index; $file_url = "$module_url?&op=text_list"; $title = _IO_N_ALL_TEXT; $hm_index = " $title "; $alphabet = array ("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"); $num = count($alphabet) - 1; $hm_index .= " [ "; $counter = 0; while (list(, $ltr) = each($alphabet)) { $hm_index .= " [\"$ltr\"] "; if ( $counter == round($num/2) ) { $hm_index .= " ]\n \n[ "; } elseif ( $counter != $num ) { $hm_index .= " | \n"; } $counter++; } $hm_index .= " ] \n"; $hm_index .= " "; $hm_index .= " \n"; } function alpha_search($query) { global $module_url, $hm_index; $hm_index = " " ._IO_SEARCH_WORD." : "; } function display_score($score) { global $hm_index; $image = "\"\""; $halfimage = "\"\""; $full = "\"\""; if ($score == 10) { for ($i=0; $i < 5; $i++) $hm_index .= "$full"; } else if ($score % 2) { $score -= 1; $score /= 2; for ($i=0; $i < $score; $i++) $hm_index .= "$image"; $hm_index .= "$halfimage"; } else { $score /= 2; for ($i=0; $i < $score; $i++) $hm_index .= "$image"; } } function display_vote($voter, $vote) { if ($voter != 0 && $vote != 0) { $rate1 = $vote / $voter; if ($rate1 == 0) $rate1 = 1; $rate = " [\""] "; } else { $rate = _IO_NO_VOTES; } return $rate; } function tarih_format($date) { if ($date) { $yil = substr($date,0,4); $ay = substr($date,5,2); $gun = substr($date,8,2); $tarih = mktime(0,0,0,$ay,$gun,$yil); $days = array(); $months = array(_JANUARY,_FEBRUARY,_MARCH,_APRIL,_MAY,_JUNE,_JULY,_AUGUST,_SEPTEMBER,_OCTOBER,_NOVEMBER,_DECEMBER); $buay = date("n", $tarih) - 1; $bugun = date("w", $tarih); $bugun1 = date("j", $tarih); $son = $bugun1 . " " . $months[$buay] . " " . $yil . " " . $days[$bugun]; return $son; } else { return 0; } } function page_nav($tp, $page, $url) { global $module_name, $hm_index; $hm_index .= " \n"; if (($page != 1) && ($tp > 1)){ $hm_index .= "\""._PREVIOUS."\" "; } if ($tp > 1) { for ($i=1 ; $i <= $tp ; $i++){ if($i != $page){ $hm_index .= " ".$i." "; } else { $hm_index .= " $i "; } } } if (($page != $tp) && ($tp > 1)){ $hm_index .= " \""._NEXT."\""; } $hm_index .= " \n"; } ?> MyBB SQL Error MyBB has experienced an internal SQL error and cannot continue. SQL Error: 1146 - Table 'phost141783.mybb_' doesn't exist Query: SELECT * FROM mybb_ ORDER BY id Please contact the MyBB Group for support. Ich habe eine Nachricht vom Autor: include("vgallery/mainfile.php"); include("vgallery/includes/lib.php"); include("vgallery/videocode.php"); try to change these lines in "vgallery.php" to : require_once MYBB_ROOT."vgallery/mainfile.php"; require_once MYBB_ROOT."vgallery/includes/lib.php"; require_once MYBB_ROOT."vgallery/videocode.php"; Ich kapiere aber nicht was er meint oô ? kann mir das jemand ins deutsche übersetzten ? RE: vGallery Line 16 Error - Michael - 03.11.2009 Du sollst in der Datei vgallery.php die oberen drei Zeilen durch die unteren ersetzen. |