After running the upgrade process from 2.01 to 2.02 I noticed that some fields within Admin Settings wasn’t populated with any data on some of the YES/NO fields.
I then noticed the following error on existing referred submitted sites
-----------------------ERROR START------------------
/admin/site/edit/17
http://directory.linkexchangeforum.co.uk/admin/referrer
(8) Undefined index: siteDescriptionHtmlEnabledAdmin c_1_site_edit_tpl.php line 241 26-11-10 10:42
FrontController->dispatch() # line 18, file: /home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/index.php
Controller->render() # line 225, file: /home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/core/FrontController.php
TemplateLiteView->render(Object:Admin_SiteController) # line 167, file: /home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/core/Controller.php
Template_Lite->fetch("site/edit.tpl") # line 77, file: /home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/views/TemplateLiteView.php
Template_Lite->_fetch_compile("site/edit.tpl", null) # line 360, file: /home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/components/template_lite/class.template.php
include("/home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/co...") # line 482, file: /home/sites/linkexchangeforum.co.uk/public_html/linkdirectory/components/template_lite/class.template.php
-----------------------ERROR END------------------
The error is down to the database update query - "update202.php" which seems to have been unsuccessfully. I think the reason it errors is something to do with the task update. As tasks only show after being run in the db.
----------------------mysql update script issue start----------------------------
$sqls[] = "ALTER TABLE `".$dbConfig['DB_PREFIX']."tasks`
CHANGE `data` `data` longtext NOT NULL";
----------------------mysql update script issue end----------------------------
After checking the "settings" table in phpmyadmin I spotted some fields wasn’t inserted into the table called settings.
I had to adapt the "update202.php" to only carry out the below update which resolved my issue my removing all other sql update scripts that had successfully updated already.
---------------------------run this mysql script----------------------------------------------
$sqls[] = "INSERT INTO ".$dbConfig['DB_PREFIX']."settings (`key` , `value` )
VALUES
('siteDescriptionHtmlEnabled', '0'),
('siteDescriptionHtmlAllowedTags', 'a[href|title|target], br, b, p, ul, ol, li, table[cellspacing|cellpadding|border], tbody, tr, td[colspan|rowspan], strong, span, em, *[style], *[class], img[src]'),
('siteDescriptionHtmlAllowedCssProperties', 'text-align, color, background-color, font-family, font-size, border, text-decoration, padding-left, height, width, font-weight'),
('campaignFilters', ''),
('siteDescriptionHtmlEnabledAdmin', '0'),
('siteDescriptionHtmlAllowedTagsAdmin', 'a[href|title|target], br, b, p, ul, ol, li, table[cellspacing|cellpadding|border], tbody, tr, td[colspan|rowspan], strong, span, em, *[style], *[class], img[src]'),
('siteDescriptionHtmlAllowedCssPropertiesAdmin', 'text-align, color, background-color, font-family, font-size, border, text-decoration, padding-left, height, width, font-weight'),
('duplicateContentCheckerEnabled', '0'),
('duplicateContentCheckerPhrasesToCheckCount', '3'),
('duplicateContentCheckerWordsInPhraseCount', '6'),
('duplicateContentCheckerAllowableDuplicatedPhrasesCount', '0')";
---------------------------end---------------------------------------------
Hope this helps any others who may have come across this issue after upgrading.
Craig
arfooo upgrade issue from 2.0.1 to 2.0.2
Moderator: effi
3 posts
• Page 1 of 1
arfooo upgrade issue from 2.0.1 to 2.0.2
Arfooo Web Hosting from £1.49 |
Technology Tips & Tricks |
Free Link Exchange Building Forum |
Technology Tips & Tricks |
Free Link Exchange Building Forum |
- craigprunty
- Posts: 25
- Joined: Thu Jul 22, 2010 7:23 am
Re: arfooo upgrade issue from 2.0.1 to 2.0.2
also the following mysql table update doesnt have seemed to run about the task mysql script.
this just causes an error when you click the details button on a list listing.
just run this bit again as per my first post
------------------------------------------------------
$sqls[] = "ALTER TABLE `".$dbConfig['DB_PREFIX']."sites`
ADD `descriptionDisplayMethod` enum('text','html','htmlAdmin') NOT NULL DEFAULT 'text',
ADD `isDuplicateContent` enum('0','1') NOT NULL DEFAULT '0'";
------------------------------------------------------
everything else seems to be working fine and its defo worth the update!
Thanks Arfooo team for providing such an excellent directory script
Craig
this just causes an error when you click the details button on a list listing.
just run this bit again as per my first post
------------------------------------------------------
$sqls[] = "ALTER TABLE `".$dbConfig['DB_PREFIX']."sites`
ADD `descriptionDisplayMethod` enum('text','html','htmlAdmin') NOT NULL DEFAULT 'text',
ADD `isDuplicateContent` enum('0','1') NOT NULL DEFAULT '0'";
------------------------------------------------------
everything else seems to be working fine and its defo worth the update!
Thanks Arfooo team for providing such an excellent directory script
Craig
Arfooo Web Hosting from £1.49 |
Technology Tips & Tricks |
Free Link Exchange Building Forum |
Technology Tips & Tricks |
Free Link Exchange Building Forum |
- craigprunty
- Posts: 25
- Joined: Thu Jul 22, 2010 7:23 am
Re: arfooo upgrade issue from 2.0.1 to 2.0.2
My two sites updated to the new version 2.02 if anyones interested to see are:-
Craig
Craig
Arfooo Web Hosting from £1.49 |
Technology Tips & Tricks |
Free Link Exchange Building Forum |
Technology Tips & Tricks |
Free Link Exchange Building Forum |
- craigprunty
- Posts: 25
- Joined: Thu Jul 22, 2010 7:23 am
3 posts
• Page 1 of 1
Return to Installation, support and bug reports
-
- Related topics
- Replies
- Views
- Last post
-
- No sense issue in Arfooo
by saidbakr » Thu Apr 15, 2010 12:40 pm - 0 Replies
- 1752 Views
- Last post by saidbakr
Thu Apr 15, 2010 12:40 pm
- No sense issue in Arfooo
-
- How to upgrade? 1.0.9 -> 2.0.2
by jmjosebest » Mon Nov 28, 2011 9:51 pm - 0 Replies
- 18145 Views
- Last post by jmjosebest
Mon Nov 28, 2011 9:51 pm
- How to upgrade? 1.0.9 -> 2.0.2
-
- v2.0 > v2.0.1 upgrade
by pitamatein » Sat Mar 27, 2010 5:12 pm - 4 Replies
- 3875 Views
- Last post by pitamatein
Tue Aug 03, 2010 11:19 pm
- v2.0 > v2.0.1 upgrade
-
- How to Upgrade from 1.0.6 to 1.0.9
by saidbakr » Tue Apr 21, 2009 10:43 am - 1 Replies
- 2779 Views
- Last post by chadon
Mon Apr 27, 2009 11:31 am
- How to Upgrade from 1.0.6 to 1.0.9
-
- error on upgrade from 8 to 9
by gadawg14 » Wed Mar 11, 2009 11:10 pm - 2 Replies
- 3464 Views
- Last post by 360wellnessguy
Tue May 19, 2009 5:18 pm
- error on upgrade from 8 to 9
Who is online
Users browsing this forum: No registered users and 1 guest