Tarih: 2005-06-04, 18:19:38 Mesaj konusu: 7.8 de Hata
Banner Yönetimi Hatası
PhpNuke 7.8 üstünde yönetim panelinden banner yönetimine girdiğinizde ne kelimeler çıkacak ne de müşteri eklemeleri yapılacaktır. Bu hatayı düzeltmek için aşağıda dizinleri ile birlikte verilen dosyaları siliniz
1. admin/case/case.banners.php
2. admin/links/links.banners.php
3. admin/modules/banners.php
işte bu kadar.. Bunları sildiğinizde banner yönetimine erişebilirsiniz. Dosyalara ekleyeceğimiz 7.8 üstünde bu hata düzeltilmiş olacaktır.
SQL Dosyasında Sorun Yaşayanlar
nuke.sql dosyasını açınız. Not defterinin bul-değiştir fonk. ile (CTRL+H)
Aranan:
Kod:
ENGINE=MyISAM
Yeni değer: <burası boş kalsın>
ve tümünü değiştir ile değiştirme işlemini başlatınız. Şimdi tekrar yüklemeyi deneyiniz.
Not: Bu yazı Alıntıdır.
#
# Volcar la base de datos para la tabla `nuke_bbsearch_results`
#
# --------------------------------------------------------
#
# Estructura de tabla para la tabla `nuke_bbsearch_wordlist`
#
CREATE TABLE nuke_bbsearch_wordlist(
word_text varchar( 50 ) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL default '',
word_id mediumint( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
word_common tinyint( 1 ) unsigned NOT NULL default '0',
PRIMARY KEY ( word_text ) ,
KEY word_id( word_id )
)
MySQL returnerede:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latin1_bin NOT NULL default '',
word_id mediumint(8)
ikinciside arkadaslarin sorunu bendede oluyor update den sonra hic bir müsteri bilgisi kalmadi ve yeni müsteride eklenemiyor yukarda yazildigi gibi bazi banner.php leri silincede yönetici panelinde banner link ve resmi hic gelmiyor
Bunun bir cözümü varmi yada versiyonu daha yükseltirsem 7.9+patch yaparsam daha sagliklimi olur
7.8 mi daha iyi 7.9 mi
biraz fazla soru sordum ama su an banner lerim görünmüyor cevap yazmassaniz 7.6 geri gitmek zorunda kalacam
http://turk.merkezi.org site burasi bir bakarsaniz haber ekle den falan editor reesimleri eksik oluyor
Tarih: 2006-08-21, 00:19:30 Mesaj konusu: Re: 7.8 de Hata
7.7 den 7.8 sürüme veritabanı güncellemesi yaptım aşağıdaki gibi değişiklikler yaptı veritabanında.
Kod:
// Banners Table Alteration
$db->sql_query("ALTER TABLE ".$prefix."_bannerclient RENAME nuke_banner_clients");
$db->sql_query("ALTER TABLE ".$prefix."_banner ADD ad_class VARCHAR( 255 ) NOT NULL , ADD ad_code TEXT NOT NULL, ADD ad_width INT( 4 ) DEFAULT '0', ADD ad_height INT( 4 ) DEFAULT '0'");
$db->sql_query("CREATE TABLE ".$prefix."_banner_positions (apid INT( 10 ) NOT NULL auto_increment, position_number INT( 5 ) DEFAULT '0' NOT NULL , position_name VARCHAR( 255 ) NOT NULL , PRIMARY KEY ( apid ) , INDEX ( position_number ))");
$db->sql_query("INSERT INTO ".$prefix."_banner_positions VALUES ('1', '0', 'Page Top')");
$db->sql_query("INSERT INTO ".$prefix."_banner_positions VALUES ('2', '1', 'Left Block')");
$db->sql_query("ALTER TABLE ".$prefix."_banner CHANGE type position INT( 10 ) DEFAULT '0' NOT NULL");
$db->sql_query("ALTER TABLE ".$prefix."_banner ADD name VARCHAR( 50 ) DEFAULT '' NOT NULL AFTER cid");
$db->sql_query("CREATE TABLE ".$prefix."_banner_terms (terms_body TEXT NOT NULL , country VARCHAR( 255 ) NOT NULL)");
$db->sql_query("INSERT INTO nuke_banner_terms VALUES ('<div align=\"justify\"><strong>Introduction:</strong> This Agreement between you and [sitename] consists of these Terms and Conditions. "You" or "Advertiser" means the entity identified in this enrollment form, and/or any agency acting on its behalf, which shall also be bound by the terms of this Agreement. Please read very carefully these Terms and Conditions.<br /><strong><br />Uses:</strong> You agree that your ads may be placed on (i) [sitename] web site and (ii) Any ads may be modified without your consent to comply with any policy of [sitename]. [sitename] reserves the right to, and in its sole discretion may, at any time review, reject, modify, or remove any ad. No liability of [sitename] and/or its owner(s) shall result from any such decision.<br /><br /></div><div align=\"justify\"><strong>Parties\' Responsibilities:</strong> You are responsible of your own site and/or service advertised in [sitename] web site. You are solely responsible for the advertising image creation, advertising text and for the content of your ads, including URL links. [sitename] is not responsible for anything regarding your Web site(s) including, but not limited to, maintenance of your Web site(s), order entry, customer service, payment processing, shipping, cancellations or returns.<br /><br /></div><div align=\"justify\"><strong>Impressions Count:</strong> Any hit to [sitename] web site is counted as an impression. Due to our advertising price we don\'t discriminate from users or automated robots. Even if you access to [sitename] web site and see your own banner ad it will be counted as a valid impression. Only in the case of [sitename] web site administrator, the impressions will not be counted.<br /><br /></div><div align=\"justify\"><strong>Termination, Cancellation:</strong> [sitename] may at any time, in its sole discretion, terminate the Campaign, terminate this Agreement, or cancel any ad(s) or your use of any Target. [sitename] will notify you via email of any such termination or cancellation, which shall be effective immediately. No refund will be made for any reason. Remaining impressions will be stored in a database and you\'ll be able to request another campaign to complete your inventory. You may cancel any ad and/or terminate this Agreement with or without cause at any time. Termination of your account shall be effective when [sitename] receives your notice via email. No refund will be made for any reason. Remaining impressions will be stored in a database for future uses by you and/or your company.<br /><br /></div><div align=\"justify\"><strong>Content:</strong> [sitename] web site doesn\'t accepts advertising that contains: (i) pornography, (ii) explicit adult content, (iii) moral questionable content, (iv) illegal content of any kind, (v) illegal drugs promotion, (vi) racism, (vii) politics content, (viii) religious content, and/or (ix) fraudulent suspicious content. If your advertising and/or target web site has any of this content and you purchased an advertising package, you\'ll not receive refund of any kind but your banners ads impressions will be stored for future use.<br /><br /></div><div align=\"justify\"><strong>Confidentiality:</strong> Each party agrees not to disclose Confidential Information of the other party without prior written consent except as provided herein. "Confidential Information" includes (i) ads, prior to publication, (ii) submissions or modifications relating to any advertising campaign, (iii) clickthrough rates or other statistics (except in an aggregated form that includes no identifiable information about you), and (iv) any other information designated in writing as "Confidential." It does not include information that has become publicly known through no breach by a party, or has been (i) independently developed without access to the other party\'s Confidential Information; (ii) rightfully received from a third party; or (iii) required to be disclosed by law or by a governmental authority.<br /><br /></div><div align=\"justify\"><strong>No Guarantee:</strong> [sitename] makes no guarantee regarding the levels of clicks for any ad on its site. [sitename] may offer the same Target to more than one advertiser. You may not receive exclusivity unless special private contract between [sitename] and you.<br /><br /></div><div align=\"justify\"><strong>No Warranty:</strong> [sitename] MAKES NO WARRANTY, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WITH RESPECT TO ADVERTISING AND OTHER SERVICES, AND EXPRESSLY DISCLAIMS THE WARRANTIES OR CONDITIONS OF NONINFRINGEMENT, MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE.<br /><br /></div><div align=\"justify\"><strong>Limitations of Liability:</strong> In no event shall [sitename] be liable for any act or omission, or any event directly or indirectly resulting from any act or omission of Advertiser, Partner, or any third parties (if any). EXCEPT FOR THE PARTIES\' INDEMNIFICATION AND CONFIDENTIALITY OBLIGATIONS HEREUNDER, (i) IN NO EVENT SHALL EITHER PARTY BE LIABLE UNDER THIS AGREEMENT FOR ANY CONSEQUENTIAL, SPECIAL, INDIRECT, EXEMPLARY, PUNITIVE, OR OTHER DAMAGES WHETHER IN CONTRACT, TORT OR ANY OTHER LEGAL THEORY, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY AND (ii) [sitename] AGGREGATE LIABILITY TO ADVERTISER UNDER THIS AGREEMENT FOR ANY CLAIM IS LIMITED TO THE AMOUNT PAID TO [sitename] BY ADVERTISER FOR THE AD GIVING RISE TO THE CLAIM. Each party acknowledges that the other party has entered into this Agreement relying on the limitations of liability stated herein and that those limitations are an essential basis of the bargain between the parties. Without limiting the foregoing and except for payment obligations, neither party shall have any liability for any failure or delay resulting from any condition beyond the reasonable control of such party, including but not limited to governmental action or acts of terrorism, earthquake or other acts of God, labor conditions, and power failures.<br /><br /></div><div align=\"justify\"><strong>Payment:</strong> You agree to pay in advance the cost of the advertising. [sitename] will not setup any banner ads campaign(s) unless the payment process is complete. [sitename] may change its pricing at any time without prior notice. If you have an advertising campaign running and/or impressions stored for future use for any mentioned cause and [sitename] changes its pricing, you\'ll not need to pay any difference. Your purchased banners fee will remain the same. Charges shall be calculated solely based on records maintained by [sitename]. No other measurements or statistics of any kind shall be accepted by [sitename] or have any effect under this Agreement.<br /><br /></div><div align=\"justify\"><strong>Representations and Warranties:</strong> You represent and warrant that (a) all of the information provided by you to [sitename] to enroll in the Advertising Campaign is correct and current; (b) you hold all rights to permit [sitename] and any Partner(s) to use, reproduce, display, transmit and distribute your ad(s); and (c) [sitename] and any Partner(s) Use, your Target(s), and any site(s) linked to, and products or services to which users are directed, will not, in any state or country where the ad is displayed (i) violate any criminal laws or third party rights giving rise to civil liability, including but not limited to trademark rights or rights relating to the performance of music; or (ii) encourage conduct that would violate any criminal or civil law. You further represent and warrant that any Web site linked to your ad(s) (i) complies with all laws and regulations in any state or country where the ad is displayed; (ii) does not breach and has not breached any duty toward or rights of any person or entity including, without limitation, rights of publicity or privacy, or rights or duties under consumer protection, product liability, tort, or contract theories; and (iii) is not false, misleading, defamatory, libelous, slanderous or threatening.<br /><br /></div><div align=\"justify\"><strong>Your Obligation to Indemnify:</strong> You agree to indemnify, defend and hold [sitename], its agents, affiliates, subsidiaries, directors, officers, employees, and applicable third parties (e.g., all relevant Partner(s), licensors, licensees, consultants and contractors) ("Indemnified Person(s)") harmless from and against any and all third party claims, liability, loss, and expense (including damage awards, settlement amounts, and reasonable legal fees), brought against any Indemnified Person(s), arising out of, related to or which may arise from your use of the Advertising Program, your Web site, and/or your breach of any term of this Agreement. Customer understands and agrees that each Partner, as defined herein, has the right to assert and enforce its rights under this Section directly on its own behalf as a third party beneficiary.<br /><br /></div><div align=\"justify\"><strong>Information Rights:</strong> [sitename] may retain and use for its own purposes all information you provide, including but not limited to Targets, URLs, the content of ads, and contact and billing information. [sitename] may share this information about you with business partners and/or sponsors. [sitename] will not sell your information. Your name, web site\'s URL and related graphics shall be used by [sitename] in its own web site at any time as a sample to the public, even if your Advertising Campaign has been finished.<br /><br /></div><div align=\"justify\"><strong>Miscellaneous:</strong> Any decision made by [sitename] under this Agreement shall be final. [sitename] shall have no liability for any such decision. You will be responsible for all reasonable expenses (including attorneys\' fees) incurred by [sitename] in collecting unpaid amounts under this Agreement. This Agreement shall be governed by the laws of [country]. Any dispute or claim arising out of or in connection with this Agreement shall be adjudicated in [country]. This constitutes the entire agreement between the parties with respect to the subject matter hereof. Advertiser may not resell, assign, or transfer any of its rights hereunder. Any such attempt may result in termination of this Agreement, without liability to [sitename] and without any refund. The relationship(s) between [sitename] and the "Partners" is not one of a legal partnership relationship, but is one of independent contractors. This Agreement shall be construed as if both parties jointly wrote it.</div>', 'Canada')");
$db->sql_query("CREATE TABLE ".$prefix."_banner_plans (pid INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , active TINYINT( 1 ) DEFAULT '0' NOT NULL , name VARCHAR( 255 ) NOT NULL , description TEXT NOT NULL , delivery VARCHAR( 10 ) NOT NULL , delivery_type VARCHAR( 25 ) NOT NULL , price VARCHAR( 25 ) DEFAULT '0' NOT NULL, buy_links TEXT NOT NULL)");
Bunu yaptıktan sonra admin sekmesinde banners bölümü kayboldu. yani banner yönetimini sağlayan bölüm yok. eski bannerlerim de görünmüyor sitgede. sizce sorun nedir? bu güncellemeyi yaptıktan sonra da 7.8den 7.9a veritabanı yükseltmesi yaptım. tabi sitenin dosyaları 7.9 ve 3.2b patch dosyalarıyla güncellenmiş halde şu an.
Bu arada yukarıda sözü geçen silinmesi gereken dosyalar zaten yok bahsedilen yerlerde.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız