Hvem er her? 1 gæst(er)
PHP-Fusion v7.02.02 & v7.01.06. Full & Update pakken
assensvej
Lagt på d. 24-05-2011 22:25
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
Phpfusion v7.02.02 er frigivet
den kan downloads her på siden med de danske localfiler
de er rette til af assensvej og hvis man oplever fejl må man gerne skrive det her i debaten
PHP-Fusion v7.02.02 http://sourceforg...p/download
PHP-Fusion Update http://www.php-fu...oad_id=534 (for v7.02.01)
Danske local http://www.assens...022_DK.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PHP-Fusion v7.01.06.
Full version: http://sourceforg...p/download
Update package: http://sourceforg...p/download (for v7.01.05)
Danske Local http://www.assens...106_dk.rar
Redigeret af assensvej d. 01-06-2011 17:11
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
Skrevet d. 23-11-2024 14:07
Reklame Agent
Antal indlæg: n^x
Tilmeldt: Altid
IP : localhost
HenningS
Lagt på d. 27-05-2011 13:44
Begynder
Antal indlæg: 5
Tilmeldt: 06/07/2007 21:11
Hej ! har du også de danske 06 filer?
assensvej
Lagt på d. 27-05-2011 13:55
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
nej men det kan da laves hvis du lige giver mig til i morgen
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
assensvej
Lagt på d. 27-05-2011 14:15
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
Prøv lige at kigge i indlæg #1 HenningS også må du lige vende tilbage til debaten om det lykkes jeg har ikke selv en v7.01.05. at teste med
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
HenningS
Lagt på d. 27-05-2011 15:53
Begynder
Antal indlæg: 5
Tilmeldt: 06/07/2007 21:11
Hej ven, jeg vender tilbage senere, er lige optaget nu, og vil selvfølgelig teste dem i løbet af aftenen, Har stadig 4 sider i den gamle udgave....
Lidt for mange fejl i den nye version indtil nu.... så jeg trækker de sidste sider lidt.
HenningS
Lagt på d. 27-05-2011 17:55
Begynder
Antal indlæg: 5
Tilmeldt: 06/07/2007 21:11
Kunne ikke dy mig, den oprettede noget tidstabel, så det må virke, tak for hjælpen
assensvej
Lagt på d. 27-05-2011 18:39
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
Det var super
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
gittedl
Lagt på d. 01-06-2011 11:29
Begynder
Antal indlæg: 7
Tilmeldt: 22/03/2007 21:47
Der ligger nogle bak filer i de danske locale files til PHP-Fusion v70202, er det nogen man bare skal slette?
Gitte
PHP-Fusion Version 7.00.07
Startet med PHP-Fusion 1. Januar 2007
assensvej
Lagt på d. 01-06-2011 17:11
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
Jep dem kan du bare slette Tak for oplysninge
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
gittedl
Lagt på d. 01-06-2011 20:30
Begynder
Antal indlæg: 7
Tilmeldt: 22/03/2007 21:47
Det var skam så lidt
Gitte
PHP-Fusion Version 7.00.07
Startet med PHP-Fusion 1. Januar 2007
michr
Lagt på d. 09-06-2011 19:22
Lidt øvet
Antal indlæg: 12
Tilmeldt: 23/09/2006 18:56
Ved ikke rigtigt om den hører hjemme her, men nu har jeg hentet det nyeste skud på stammen 7.02.02 og forsøgt at opgradere min 7.00.07 og nej det gik ikke godt.
1 : Jeg pakkede den fulde engelske version ud.
2 : Jeg pakkede de danske sprogfiler ud.
3 : Jeg uploadede upgrade filen fra V7 mappen.
4 : Jeg uploadede de danske sprogfiler
5 : Jeg logge ind og forsøgte at opgradere, men fik oplyst, at "Der er ingen databaseopgradering tilgængelig". Nederst får jeg en mega lang hilsen =>
Kode Siden dannet på: 0.02 sekunder 0 Unikke besøg
Copyright © 2011
Powered by PHP-Fusion copyright © 2002 - 2011 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3.
MYISAM;"); $result = dbquery("ALTER TABLE ".DB_BLACKLIST." ADD blacklist_user_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER blacklist_id"); $result = dbquery("ALTER TABLE ".DB_BLACKLIST." ADD blacklist_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER blacklist_reason"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_file VARCHAR(100) NOT NULL DEFAULT '' AFTER download_url"); $result = dbquery("ALTER TABLE ".DB_NEWS." ADD news_image VARCHAR(100) NOT NULL DEFAULT '' AFTER news_cat"); $result = dbquery("ALTER TABLE ".DB_NEWS." ADD news_image_t1 VARCHAR(100) NOT NULL DEFAULT '' AFTER news_image"); $result = dbquery("ALTER TABLE ".DB_NEWS." ADD news_image_t2 VARCHAR(100) NOT NULL DEFAULT '' AFTER news_image_t1"); $result = dbquery("ALTER TABLE ".DB_USER_FIELDS." CHANGE field_group field_cat MEDIUMINT(8) UNSIGNED DEFAULT '1'"); $result = dbquery("ALTER TABLE ".DB_USERS." ADD user_actiontime INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER user_status"); $result = dbquery("ALTER TABLE ".DB_USERS." CHANGE user_offset user_offset CHAR(5) DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_COMMENTS." ADD comment_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_THREADS." ADD thread_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_POSTS." ADD post_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (1, '".$locale['420']."', 1)"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (2, '".$locale['421']."', 2)"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (3, '".$locale['422']."', 3)"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (4, '".$locale['423']."', 4)"); $result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_level='103'"); while ($data = dbarray($result)) { $result2 = dbquery("UPDATE ".DB_USERS." SET user_rights='".$data['user_rights'].".UFC.S8.S9.S10.S11.S12' WHERE user_id='".$data['user_id']."'"); } // Move infusions to admin page 5 and settings to page 4 $result = dbquery("UPDATE ".DB_ADMIN." SET admin_page='5' WHERE admin_page='4'"); for ($i = 1; $i < 13; $i++) { $result = dbquery("UPDATE ".DB_ADMIN." SET admin_page='4' WHERE admin_rights='S$i'"); } $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('UFC', 'user_fields.gif', '".$locale['430']."', 'user_field_cats.php', 2)"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S8', 'settings_news.gif', '".$locale['436']."', 'settings_news.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S9', 'members.gif', '".$locale['432']."', 'settings_users.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S10', 'settings_ipp.gif', '".$locale['434']."', 'settings_ipp.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S11', 'settings_dl.gif', '".$locale['437']."', 'settings_dl.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S12', 'security.gif', '".$locale['435']."', 'settings_security.php', '4')"); $result = dbquery("UPDATE ".DB_ADMIN." SET admin_image='settings_users.gif' WHERE admin_link='settings_users.php'"); $result = dbquery("UPDATE ".DB_ADMIN." SET admin_image='user_fields_cats.gif' WHERE admin_link='user_field_cats.php'"); // Settings table update! $settings = dbarray(dbquery("SELECT * FROM ".DB_SETTINGS)); // Create new settings table $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."settings2"); $result = dbquery("CREATE TABLE ".$db_prefix."settings2 ( settings_name VARCHAR(200) NOT NULL DEFAULT '', settings_value TEXT NOT NULL, PRIMARY KEY (settings_name) ) ENGINE=MYISAM;"); // Insert settings as rows foreach ($settings as $key => $value) { $result = dbquery("INSERT INTO ".$db_prefix."settings2 (settings_name, settings_value) VALUES ('$key', '$value')"); } // Drop old settings table $result = dbquery("DROP TABLE ".DB_SETTINGS); // Rename new settings table $result = dbquery("RENAME TABLE ".$db_prefix."settings2 TO ".DB_SETTINGS); // Create suspends table for suspension log $result = dbquery("CREATE TABLE ".$db_prefix."suspends ( suspend_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT, suspended_user MEDIUMINT(8) UNSIGNED NOT NULL, suspending_admin MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '1', suspend_ip VARCHAR(45) NOT NULL default '', suspend_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4', suspend_date INT(10) NOT NULL DEFAULT '0', suspend_reason TEXT NOT NULL, suspend_type TINYINT(1) NOT NULL DEFAULT '0', reinstating_admin MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '1', reinstate_reason TEXT NOT NULL, reinstate_date INT(10) NOT NULL DEFAULT '0', reinstate_ip VARCHAR(45) NOT NULL default '', reinstate_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4', PRIMARY KEY (suspend_id) ) ENGINE=MYISAM;"); // Create infusions settings table $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."settings_inf"); $result = dbquery("CREATE TABLE ".$db_prefix."settings_inf ( settings_name VARCHAR(200) NOT NULL DEFAULT '', settings_value TEXT NOT NULL, settings_inf VARCHAR(200) NOT NULL DEFAULT '', PRIMARY KEY (settings_name) ) ENGINE=MYISAM;"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('deactivation_response', '14')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('deactivation_period', '365')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('enable_deactivation', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('comments_enabled', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('ratings_enabled', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('hide_userprofiles', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_thumb_ratio', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_image_link', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_thumb_w', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_thumb_h', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_max_w', '1800')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_max_h', '1600')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_max_b', '150000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('newsdate', '%B %d %Y')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_max_b', '15000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_types', '.zip,.rar,.tar,.bz2')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('articles_per_page', '15')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('downloads_per_page', '15')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('links_per_page', '15')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_filesize', '15000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_width', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_height', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_ratio', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('smtp_port', '25')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('cronjob_day', '".time()."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('cronjob_hour', '".time()."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('flood_autoban', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('visitorcounter_enabled', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('popular_threads_timeframe', '604800')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('maintenance_level', '102')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_w', '400')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_h', '300')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_image_frontpage', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_image_readmore', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('deactivation_action', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('serveroffset', '0.0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('default_timezone', 'Europe/London')"); // New settings $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('captcha', 'securimage2')"); $siteurl = getCurrentURL(); $url = parse_url($siteurl); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('site_protocol', '".$url['scheme']."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('site_host', '".$url['host']."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('site_port', '".(isset($url['port']) ? $url['port'] : "")."')"); $url['path'] = str_replace("administration/", "", $url['path']); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('site_path', '".(isset($url['path']) ? $url['path'] : "/")."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('password_algorithm', 'sha256')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('comments_per_page', '10')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('comments_sorting', 'ASC')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('rendertime_enabled', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('forum_last_posts_reply', '10')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('attachmax_count', '5')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_screen_max_b', '150000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_screen_max_w', '1024')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_screen_max_h', '768')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('userNameChange', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('recaptcha_public', '')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('recaptcha_private', '')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('recaptcha_theme', 'red')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('forum_edit_timelimit', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_screenshot', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_thumb_max_w', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_thumb_max_h', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('forum_editpost_to_lastpost', '1')"); $result = dbquery("DELETE FROM ".DB_SETTINGS." WHERE settings_name='news_style'"); // Add robots.txt Admin $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('ROB', 'robots.gif', '".$locale['442']."', 'robots.php', '3')"); // Add User Log Admin $result = dbquery("INSERT INTO ".DB_ADMIN." SET admin_rights='UL', admin_image='user_fields.gif', admin_title='".$locale['443']."', admin_link='user_log.php', admin_page='2'"); // Add link to Download Submission $result = dbquery("INSERT INTO ".$db_prefix."site_links (link_name, link_url, link_visibility, link_position, link_window, link_order) VALUES ('".$locale['440']."', 'submit.php?stype=d', '101', '1', '0', '16')"); // Add Password Reset Admin $result = dbquery("DELETE FROM ".DB_ADMIN." WHERE admin_link='../infusions/admin_reset/index.php'"); $reqult = dbquery("DELETE FROM ".DB_INFUSIONS." WHERE inf_folder='admin_reset'"); $result = dbquery( "INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('APWR', 'admin_pass.gif', '".$locale['444']."', 'admin_reset.php', '2'), ('ERRO', 'errors.gif', '".$locale['445']."', 'errors.php', '3')" ); // Update all user_rights from above if ($result) { $result = dbquery("SELECT user_id, user_rights FROM ".DB_USERS." WHERE user_level='103'"); while ($data = dbarray($result)) { $result2 = dbquery("UPDATE ".DB_USERS." SET user_rights='".$data['user_rights'].".APWR.ERRO.ROB.UL' WHERE user_id='".$data['user_id']."'"); } } $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."admin_resetlog"); $result = dbquery("CREATE TABLE ".$db_prefix."admin_resetlog ( reset_id mediumint(8) unsigned NOT NULL auto_increment, reset_admin_id mediumint(8) unsigned NOT NULL default '1', reset_timestamp int(10) unsigned NOT NULL default '0', reset_sucess text NOT NULL, reset_failed text NOT NULL, reset_admins varchar(8) NOT NULL default '0', reset_reason varchar(256) NOT NULL, PRIMARY KEY (reset_id) ) ENGINE=MYISAM;"); $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."errors"); $result = dbquery("CREATE TABLE ".$db_prefix."errors ( error_id mediumint(8) unsigned NOT NULL auto_increment, error_level smallint(5) unsigned NOT NULL, error_message text NOT NULL, error_file varchar(300) NOT NULL, error_line smallint(5) NOT NULL, error_page varchar(200) NOT NULL, error_user_level smallint(3) NOT NULL, error_user_ip VARCHAR(45) NOT NULL default '', error_user_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4', error_status tinyint(1) NOT NULL default '0', error_timestamp int(10) NOT NULL, PRIMARY KEY (error_id) ) ENGINE=MYISAM;"); $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."user_log"); $result = dbquery("CREATE TABLE ".$db_prefix."user_log ( userlog_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT, userlog_user_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', userlog_field VARCHAR(50) NOT NULL DEFAULT '', userlog_value_new TEXT NOT NULL DEFAULT '', userlog_value_old TEXT NOT NULL DEFAULT '', userlog_timestamp INT(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (userlog_id), KEY userlog_user_id (userlog_user_id), KEY userlog_field (userlog_field) ) ENGINE=MYISAM;"); $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."email_verify"); $result = dbquery("CREATE TABLE ".$db_prefix."email_verify ( user_id MEDIUMINT(8) NOT NULL, user_code VARCHAR(32) NOT NULL, user_email VARCHAR(100) NOT NULL, user_datestamp INT(10) UNSIGNED DEFAULT '0' NOT NULL, KEY user_datestamp (user_datestamp) ) ENGINE=MYISAM;"); // Add indexes $result = dbquery("ALTER TABLE ".DB_ARTICLES." ADD INDEX (article_cat)"); $result = dbquery("ALTER TABLE ".DB_ARTICLE_CATS." ADD INDEX (article_cat_access)"); // Add fields $result = dbquery("ALTER TABLE ".DB_USER_FIELDS." ADD field_required TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER field_cat"); $result = dbquery("ALTER TABLE ".DB_NEW_USERS." ADD user_name VARCHAR(30) NOT NULL AFTER user_code"); $result = dbquery("ALTER TABLE ".DB_FORUM_RANKS." ADD rank_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER rank_posts"); $result = dbquery("UPDATE ".DB_FORUM_RANKS." SET rank_type='1' WHERE rank_posts='0' and rank_apply>101"); $result = dbquery("ALTER TABLE ".DB_FORUM_ATTACHMENTS." ADD attach_count INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER attach_size"); $result = dbquery("ALTER TABLE ".DB_PANELS." ADD (panel_url_list TEXT NOT NULL DEFAULT '', panel_restriction TINYINT(1) UNSIGNED NOT NULL DEFAULT '0')"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_user MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '1' AFTER download_id"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_homepage VARCHAR(100) NOT NULL DEFAULT '' AFTER download_user"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_description_short VARCHAR(500) NOT NULL AFTER download_title"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_image VARCHAR(100) NOT NULL DEFAULT '' AFTER download_description"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_image_thumb VARCHAR(100) NOT NULL DEFAULT '' AFTER download_image"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_copyright VARCHAR(250) NOT NULL DEFAULT '' AFTER download_license"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_allow_comments TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER download_count"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_allow_ratings TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER download_allow_comments"); $result = dbquery("ALTER TABLE ".DB_USER_FIELDS." ADD field_log TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER field_required"); $result = dbquery("ALTER TABLE ".DB_USER_FIELDS." ADD field_registration TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER field_log"); $result = dbquery("ALTER TABLE ".DB_POSTS." ADD post_editreason TEXT NOT NULL AFTER post_edittime"); $result = dbquery("ALTER TABLE ".DB_POSTS." ADD post_locked TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_FORUMS." ADD forum_merge TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_FORUMS." ADD forum_attach_download SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER forum_attach"); // New user password fields (algo, and salt) $result = dbquery("ALTER TABLE ".DB_USERS." ADD user_algo VARCHAR( 10 ) NOT NULL DEFAULT 'md5' AFTER user_name , ADD user_salt VARCHAR(40) NOT NULL AFTER user_algo"); $result = dbquery("ALTER TABLE ".DB_USERS." ADD user_admin_algo VARCHAR( 10 ) NOT NULL DEFAULT 'md5' AFTER user_password , ADD user_admin_salt VARCHAR(40) NOT NULL AFTER user_admin_algo"); $result = dbquery("ALTER TABLE ".DB_USERS." CHANGE user_password user_password VARCHAR(64) NOT NULL"); $result = dbquery("ALTER TABLE ".DB_USERS." CHANGE user_admin_password user_admin_password VARCHAR(64) NOT NULL"); $result = dbquery("ALTER TABLE ".DB_NEW_USERS." CHANGE user_code user_code VARCHAR(40) NOT NULL"); // IPv6 support $result = dbquery("ALTER TABLE ".DB_BLACKLIST." CHANGE blacklist_ip blacklist_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_CAPTCHA." CHANGE captcha_ip captcha_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_COMMENTS." CHANGE comment_ip comment_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_FLOOD_CONTROL." CHANGE flood_ip flood_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_FORUM_POLL_VOTERS." CHANGE forum_vote_user_ip forum_vote_user_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_RATINGS." CHANGE rating_ip rating_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_ONLINE." CHANGE online_ip online_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_POSTS." CHANGE post_ip post_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".DB_USERS." CHANGE user_ip user_ip VARCHAR(45) NOT NULL default '0.0.0.0'"); $result = dbquery("ALTER TABLE ".DB_BLACKLIST." ADD blacklist_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER blacklist_ip, ADD KEY (blacklist_ip_type)"); $result = dbquery("ALTER TABLE ".DB_CAPTCHA." ADD captcha_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER captcha_ip"); $result = dbquery("ALTER TABLE ".DB_COMMENTS." ADD comment_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER comment_ip"); $result = dbquery("ALTER TABLE ".DB_FLOOD_CONTROL." ADD flood_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER flood_ip"); $result = dbquery("ALTER TABLE ".DB_FORUM_POLL_VOTERS." ADD forum_vote_user_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER forum_vote_user_ip"); $result = dbquery("ALTER TABLE ".DB_RATINGS." ADD rating_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER rating_ip"); $result = dbquery("ALTER TABLE ".DB_ONLINE." ADD online_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER online_ip"); $result = dbquery("ALTER TABLE ".DB_POSTS." ADD post_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER post_ip"); $result = dbquery("ALTER TABLE ".DB_USERS." ADD user_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER user_ip"); // Drop Shoutbox from the core, add it as an in fusion! $result = dbquery("ALTER TABLE ".$db_prefix."shoutbox CHANGE shout_ip shout_ip VARCHAR(45) NOT NULL default ''"); $result = dbquery("ALTER TABLE ".$db_prefix."shoutbox ADD shout_ip_type TINYINT(1) UNSIGNED NOT NULL DEFAULT '4' AFTER shout_ip"); $result = dbquery("ALTER TABLE ".$db_prefix."shoutbox ADD shout_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("SELECT settings_name, settings_value FROM ".DB_SETTINGS." WHERE settings_name='numofshouts' OR settings_name='guestposts'"); while ($data = dbarray($result)) { $settings2[$data['settings_name']] = $data['settings_value']; } $result = dbquery("INSERT INTO ".$db_prefix."settings_inf (settings_name, settings_value, settings_inf) VALUES ('visible_shouts', '".$settings2['numofshouts']."', 'shoutbox_panel')"); $result = dbquery("INSERT INTO ".$db_prefix."settings_inf (settings_name, settings_value, settings_inf) VALUES ('guest_shouts', '".$settings2['guestposts']."', 'shoutbox_panel')"); $result = dbquery("INSERT INTO ".DB_INFUSIONS." (inf_title, inf_folder, inf_version) VALUES ('".$locale['441']."', 'shoutbox_panel', '1.00')"); $folder = INFUSIONS."shoutbox_panel"; $result = dbquery("UPDATE ".DB_ADMIN." SET admin_link='".$folder."/shoutbox_admin.php', admin_page='5' WHERE admin_rights='S'"); $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='7.02.02' WHERE settings_name='version'"); $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='.gif,.jpg,.png,.zip,.rar,.tar' WHERE settings_name='attachtypes'"); echo $locale['502']."\n"; echo "
\n"; echo $locale['505']."
\n"; echo "
"; echo "<?php
\n"; echo "// database settings
\n"; echo '$db_host = "'.$db_host.'";
'; echo '$db_user = "'.$db_user.'";
'; echo '$db_pass = "'.$db_pass.'";
'; echo '$db_name = "'.$db_name.'";
'; echo '$db_prefix = "'.DB_PREFIX.'";
'; echo 'define("DB_PREFIX", "'.DB_PREFIX.'");
'; echo 'define("COOKIE_PREFIX", "fusion'.createRandomPrefix().'_");
'; echo "?>"; echo "
"; } } else { echo $locale['401']."
\n"; } echo "\n\n"; closetable(); // Get Current URL function getCurrentURL() { $s = empty($_SERVER["HTTPS"]) ? "" : ($_SERVER["HTTPS"] == "on") ? "s" : ""; $protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s; $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); return $protocol."://".$_SERVER['SERVER_NAME'].$port.(str_replace(basename(cleanurl($_SERVER['PHP_SELF'])), "", $_SERVER['REQUEST_URI'])); } function strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); } function createRandomPrefix ($length = 5) { $chars = array("abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ", "123456789"); $count = array((strlen($chars[0]) - 1), (strlen($chars[1]) - 1)); $prefix = ""; for ($i = 0; $i < $length; $i++) { $type = mt_rand(0, 1); $prefix .= substr($chars[$type], mt_rand(0, $count[$type]), 1); } return $prefix; } require_once THEMES."templates/footer.php"; ?>
Hvor gik det galt ?
Mvh. Michael
gittedl
Lagt på d. 09-06-2011 19:32
Begynder
Antal indlæg: 7
Tilmeldt: 22/03/2007 21:47
@michr Så vidt jeg ved kan du ikke opdatere direkte fra 7.00.07 til 7.02.02 Du skal igennem alle opdateringerne fra 7.00.07 til 7.02.02 Der er sket en del med systemet med opdateringe 7.01.00 samt 7.02.00 og ved den lejlighed er der også sket en del ændringer af databasen. Så desværre tror jeg at du må igennem den hårde vej, med alle opdateringer
Gitte
PHP-Fusion Version 7.00.07
Startet med PHP-Fusion 1. Januar 2007
michr
Lagt på d. 09-06-2011 19:43
Lidt øvet
Antal indlæg: 12
Tilmeldt: 23/09/2006 18:56
Tak for dit svar og det er måske grunden til det hele.
Dog står der i filen, at :
2. You must first upload the upgrade script from the folder named 'upgrade v7' (or 'upgrade v701' if you already have v7.01 running) to the administration folder of your site and upload the folder named 'locale' to the root of your site. Without the locale files, some names may not be added to the database.
Et andet sted skriver de dog osse, at :
We also recommend that you do the upgrade from 7.00.xx to 7.01.xx first before you upgrade to 7.02.00.
Så det kan man vist kalde for en helgardering ;-)
Mvh. Michael
michr
Lagt på d. 09-06-2011 20:36
Lidt øvet
Antal indlæg: 12
Tilmeldt: 23/09/2006 18:56
Nu har jeg så forsøgt at opgradere fra 7.00.07 til 7.01.00 og få denne fantastiske lange meddelelse => Der er ingen database tilgængelig opgradering.
Kode Copyright © 2011
Powered by PHP-Fusion copyright © 2002 - 2011 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3.
data text NOT NULL ) TYPE=MyISAM;"); $result = dbquery("CREATE TABLE ".$db_prefix."user_field_cats ( field_cat_id MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT , field_cat_name VARCHAR(200) NOT NULL , field_cat_order SMALLINT(5) UNSIGNED NOT NULL , PRIMARY KEY (field_cat_id) ) TYPE=MyISAM;"); $result = dbquery("ALTER TABLE ".DB_BLACKLIST." ADD blacklist_user_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER blacklist_id"); $result = dbquery("ALTER TABLE ".DB_BLACKLIST." ADD blacklist_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER blacklist_reason"); $result = dbquery("ALTER TABLE ".DB_DOWNLOADS." ADD download_file VARCHAR(100) NOT NULL DEFAULT '' AFTER download_url"); $result = dbquery("ALTER TABLE ".DB_NEWS." ADD news_image VARCHAR(100) NOT NULL DEFAULT '' AFTER news_cat"); $result = dbquery("ALTER TABLE ".DB_NEWS." ADD news_image_t1 VARCHAR(100) NOT NULL DEFAULT '' AFTER news_image"); $result = dbquery("ALTER TABLE ".DB_NEWS." ADD news_image_t2 VARCHAR(100) NOT NULL DEFAULT '' AFTER news_image_t1"); $result = dbquery("ALTER TABLE ".DB_USER_FIELDS." CHANGE field_group field_cat MEDIUMINT(8) UNSIGNED DEFAULT '1'"); $result = dbquery("ALTER TABLE ".DB_USERS." ADD user_actiontime INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER user_status"); $result = dbquery("ALTER TABLE ".DB_USERS." CHANGE user_offset user_offset CHAR(5) DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_COMMENTS." ADD comment_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_SHOUTBOX." ADD shout_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_THREADS." ADD thread_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("ALTER TABLE ".DB_POSTS." ADD post_hidden TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (1, '".$locale['420']."', 1)"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (2, '".$locale['421']."', 2)"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (3, '".$locale['422']."', 3)"); $result = dbquery("INSERT INTO ".$db_prefix."user_field_cats (field_cat_id, field_cat_name, field_cat_order) VALUES (4, '".$locale['423']."', 4)"); $result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_level='103'"); while ($data = dbarray($result)) { $result2 = dbquery("UPDATE ".DB_USERS." SET user_rights='".$data['user_rights'].".UFC.S8.S9.S10.S11.S12' WHERE user_id='".$data['user_id']."'"); } // Move infusions to admin page 5 and settings to page 4 $result = dbquery("UPDATE ".DB_ADMIN." SET admin_page='5' WHERE admin_page='4'"); for ($i = 1; $i < 13; $i++) { $result = dbquery("UPDATE ".DB_ADMIN." SET admin_page='4' WHERE admin_rights='S$i'"); } $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('UFC', 'user_fields.gif', '".$locale['430']."', 'user_field_cats.php', 2)"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S8', 'settings_news.gif', '".$locale['436']."', 'settings_news.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S9', 'members.gif', '".$locale['432']."', 'settings_users.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S10', 'settings_ipp.gif', '".$locale['434']."', 'settings_ipp.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S11', 'settings_dl.gif', '".$locale['437']."', 'settings_dl.php', '4')"); $result = dbquery("INSERT INTO ".DB_ADMIN." (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S12', 'security.gif', '".$locale['435']."', 'settings_security.php', '4')"); $result = dbquery("UPDATE ".DB_SETTINGS." SET version='7.01.00'"); $result = dbquery("UPDATE ".DB_SETTINGS." SET attachtypes='.gif,.jpg,.png,.zip,.rar,.tar,.7z'"); // Settings table update! $settings = dbarray(dbquery("SELECT * FROM ".DB_SETTINGS)); // Create new settings table $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."settings2"); $result = dbquery("CREATE TABLE ".$db_prefix."settings2 ( settings_name VARCHAR(200) NOT NULL DEFAULT '', settings_value TEXT NOT NULL, PRIMARY KEY (settings_name) ) ENGINE=MyISAM"); // Insert settings as rows foreach ($settings as $key => $value) { $result = dbquery("INSERT INTO ".$db_prefix."settings2 (settings_name, settings_value) VALUES ('$key', '$value')"); } // Drop old settings table $result = dbquery("DROP TABLE ".DB_SETTINGS); // Rename new settings table $result = dbquery("RENAME TABLE ".$db_prefix."settings2 TO ".DB_SETTINGS); // Create suspends table for suspension log $result = dbquery("CREATE TABLE ".$db_prefix."suspends ( suspend_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT, suspended_user MEDIUMINT(8) UNSIGNED NOT NULL, suspending_admin MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '1', suspend_ip VARCHAR(20) NOT NULL DEFAULT '0.0.0.0', suspend_date INT(10) NOT NULL DEFAULT '0', suspend_reason TEXT NOT NULL, suspend_type TINYINT(1) NOT NULL DEFAULT '0', reinstating_admin MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '1', reinstate_reason TEXT NOT NULL, reinstate_date INT(10) NOT NULL DEFAULT '0', reinstate_ip VARCHAR(20) NOT NULL DEFAULT '0.0.0.0', PRIMARY KEY (suspend_id) ) ENGINE=MyISAM"); // Create infusions settings table $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."settings_inf"); $result = dbquery("CREATE TABLE ".$db_prefix."settings_inf ( settings_name VARCHAR(200) NOT NULL DEFAULT '', settings_value TEXT NOT NULL, settings_inf VARCHAR(200) NOT NULL DEFAULT '', PRIMARY KEY (settings_name) ) ENGINE=MyISAM"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('login_method', 'cookies')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('deactivation_response', '14')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('deactivation_period', '365')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('enable_deactivation', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('comments_enabled', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('ratings_enabled', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('hide_userprofiles', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_thumb_ratio', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_image_link', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_thumb_w', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_thumb_h', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_max_w', '1800')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_max_h', '1600')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_max_b', '150000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('newsdate', '%B %d %Y')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_max_b', '15000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('download_types', '.zip,.rar,.tar,.bz2,.z7')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('articles_per_page', '15')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('downloads_per_page', '15')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('links_per_page', '15')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_filesize', '15000')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_width', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_height', '100')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('avatar_ratio', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('smtp_port', '25')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('cronjob_day', '".time()."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('cronjob_hour', '".time()."')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('flood_autoban', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('visitorcounter_enabled', '1')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('popular_threads_timeframe', '604800')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('maintenance_level', '102')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_w', '400')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_photo_h', '300')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_image_frontpage', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('news_image_readmore', '0')"); $result = dbquery("INSERT INTO ".DB_SETTINGS." (settings_name, settings_value) VALUES ('deactivation_action', '0')"); $result = dbquery("DELETE FROM ".DB_SETTINGS." WHERE settings_name='validation_method'"); echo "Database upgrade complete.
\n"; } } else { echo $locale['401']."
\n"; } echo "\n\n"; closetable(); require_once THEMES."templates/footer.php"; ?>
Det skal åbenbart ikke være nemt !?!?!?
assensvej
Lagt på d. 09-06-2011 21:45
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
Skal lige høre om du har set den her Readme jeg har lavet engang http://www.assens...ead_id=987
jeg tro at du ikke har alle filer med (kun et gæt)
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
michr
Lagt på d. 09-06-2011 22:31
Lidt øvet
Antal indlæg: 12
Tilmeldt: 23/09/2006 18:56
Jeps, den har jeg set og det er faktisk også hvad jeg har gjort. Jeg får bare aldrig beskeden => "Database upgrade complete" af en eller anden årsag, som jeg ikke lige kan gennemskue.
Ja, jeg kan ikke helt vide om jeg har alle filerne, men jeg har 129 filer i 6 mapper.
/Michael
PS. Findes der et SQL script man kan køre i stedet for ?
assensvej
Lagt på d. 09-06-2011 22:47
Superadministrator
Antal indlæg: 1735
Tilmeldt: 15/01/2006 11:36
nej inge SQL script
men du har taget en backup.
jeg tro du skal have en til at gøre det for dig, jeg ville gerne men har ikke tid før i næste uge.
men kan du vente vil jeg gerne prøv
HUSK at læse reglerne for Brug af Debatten - Spørgsmål i privat beskeder og på msn, besvares ikke uden aftale.
Ekspert.
En ekspert er en, der har begået om ikke alle, så i hvert fald de groveste fejltagelser inden for sit felt
Niels Bohr, atomfysiker, 1865-1962
michr
Lagt på d. 09-06-2011 22:50
Lidt øvet
Antal indlæg: 12
Tilmeldt: 23/09/2006 18:56
Okay. Så lige webhotellet kørte php 5.2 og ikke 5.3 ! Kan det betyde noget ?
Nope ingen backup, fordi det er en test version jeg arbejder på, så jeg ikke ødelægger online siderne ;-)
Ingen hastværk og jeg leger lidt videre.
Mvh. Michael
Tutsi
Lagt på d. 09-06-2011 23:36
Superadministrator
Antal indlæg: 2409
Tilmeldt: 24/02/2009 19:12
Hvis du sender link, ftp og database oplysninger i en pm, vil jeg gerne sætte det op for dig i morgen eller overmorgen.
______________________________
Hilsen Ellen
______________________________
www.jensens-madbl...
"Den som opfatter sig som færdiguddannet, er mere færdig end uddannet"
michr
Lagt på d. 09-06-2011 23:58
Lidt øvet
Antal indlæg: 12
Tilmeldt: 23/09/2006 18:56
Hej Ellen,
Mange tak for tilbudet, men det er kun en test side som jeg leger med, så jeg kan blive 110% fortrolig med opgraderingen fra 7.00.07 og frem til dato, så det bliver ikke nødvendigt.
Jeg vil hellere have at vide, hvad der kan være skyld i fejlen, så jeg kan blive lidt klogere på opgraderingen, så jeg igen kan gøre det på mine online sider ;-)
Mvh. Michael
Spring til debat:
Kravlegården på Assensvej
Assensvej.dk
MOD's /7.02
Temaer /7.02
Generel debat - PHP-Fusion /7.02
Nye Themes fra Assensvej.dk
MOD's /7.01
Infusioner /7.01
Temaer /7.01
Tips og tricks,elementer mm /7.01
Generel debat - PHP-Fusion /7.01
MOD's v7
Infusioner v7
Temaer v7
Tips og tricks,elementer mm v7
Generel debat - PHP-Fusion v7
vise dine Temaer/show your Themes
Themes
Theme Requests
Showcase
Hvad sker der på Assensvej.dk
De løse debater
Fra Bruger til Bruger.
Lidt sjov
Jule vittigheder og historie
Facebook
YouTube