×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Upgrade of Joomla 1.5 to 2.5

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23133

  • paul
  • paul's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi

ref: www.ukfisherman.com/demo/

recently upgraded Joomla 1.5 site to 2.5

I then reinstalled your comment system but now the site won't load at all and I get the following error:

500 - No ccomment configuration exist for com_content

When I try to access the comments in the backend I just get a blank screen.

Thanks, Paul

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23137

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Paul,
A blank page in the backend points to a broken installation. If you go to the global configuration and enable error reporting you'll see what the error on the page is.

Was the 1.5 site running ccomment 4.2.1 or was it running an older version? If it was running an older version than what happened most probably is that ccomment5 didn't recognize your tables and couldn't make the necessary modifications to them.

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23138

  • paul
  • paul's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Thanks Daniel

I was running joomlacomment Version 4.0 RC1.

Debug information is:

No ccomment configuration exist for com_content

Call stack
# Function Location
1 JSite->dispatch() /home/ukfish1/public_html/demo/index.php:42
2 JError::raiseError() /home/ukfish1/public_html/demo/includes/application.php:208
3 JError::raise() /home/ukfish1/public_html/demo/libraries/joomla/error/error.php:251

Do you think the situation is salvageable?

Paul

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23139

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Visitor
  • Visitor
Salvagable - of course. We'll need to manually modify the tables. For this I'll need phpmyadmin and backend access to your site. You can send them to me via e-mail.

Regards,
Daniel

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23140

  • paul
  • paul's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
hi Daniel

thanks so much. Probably being stupid but where do I find your email adress?

Paul

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23141

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Either use the contact us button or send a mail to This email address is being protected from spambots. You need JavaScript enabled to view it.

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23144

  • paul
  • paul's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
thanks for your help Daniel

Just one thought. I decided to have a play with K2 but when I link a menu item to a K2 category (such as www.ukfisherman.com/demo/news-test.html ) I get the error messages again:

500 - No ccomment configuration exist for com_k2

Does your comment system work with K2 and would additional DB changes be required?

Thanks, Paul

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23145

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Here are the db changes that need to be performed for the upgrade.
ALTER TABLE #__comment_setting DROP set_sectionid,
			 CHANGE  set_name note varchar(255) NOT NULL DEFAULT "", 
			 CHANGE  set_component component varchar(50) NOT NULL DEFAULT "";
 
ALTER TABLE #__comment
			 DROP usertype ,
			 ADD  modified_by int(10) unsigned NOT NULL DEFAULT '0',
			 ADD  modified datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
			 ADD  unsubscribe_hash VARCHAR( 255 ) NOT NULL ,
			 ADD  moderate_hash VARCHAR( 255 ) NOT NULL,
			 ADD  deleted tinyint(1) NOT NULL DEFAULT '0',
			 ADD  spam tinyint(1) NOT NULL DEFAULT '0';
 
DROP TABLE IF EXISTS #__comment_installer;
DROP TABLE IF EXISTS #__comment_joomvertising;
 
 
CREATE TABLE IF NOT EXISTS #__comment_version (
					  `id` int(11) NOT NULL,
					  `version` varchar(55) NOT NULL
					) DEFAULT CHARSET=utf8;
 
 
CREATE TABLE IF NOT EXISTS #__comment_queue (
					  `id` int(11) NOT NULL AUTO_INCREMENT,
					  `mailfrom` varchar(255) DEFAULT NULL,
					  `fromname` varchar(255) DEFAULT NULL,
					  `recipient` varchar(255) NOT NULL,
					  `subject` text NOT NULL,
					  `body` text NOT NULL,
					  `created` datetime NOT NULL,
					  `type` varchar(10) NOT NULL DEFAULT "html",
					  `status` tinyint(1) NOT NULL DEFAULT "0",
					  PRIMARY KEY (`id`),
					  KEY `status` (`status`)
					) DEFAULT CHARSET=utf8;
 
UPDATE #__comment SET component = 'com_content' WHERE component = '';

in the code above replace #__ with your table prefix. Once you do the changes, navigate to the component settings -> delete the previous configurations and create new one. Now the comment system should work properly.


As far as the error you receive is concerned. Read it again and think what needs to be done! "No ccomment configuration exists for com_k2" ? What does our documentation says over here:
compojoom.com/support/documentation/ccomment/ch03s02s02

A hint: you have forgotten to create a k2 config ;)
Regards,
Daniel

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23151

  • paul
  • paul's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
thanks again. Hopefully I won;t have to trouble you further.

Paul

Upgrade of Joomla 1.5 to 2.5 11 years 1 month ago #23154

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Glad it is working (Y) If you have any additional questions don't hesitate to ask!
  • Page:
  • 1
Time to create page: 0.168 seconds