| 
Welcome, Guest

Conditions plugin
(1 viewing) (1) Guest

TOPIC: Conditions plugin

Re:Conditions plugin 5 years, 8 months ago #14425

  • Posts:
  • Karma:
So...the conditions plug in is working fully with 1.0 Stable now?

Raj

Re:Conditions plugin 5 years, 8 months ago #14427

  • Posts:
  • Karma:
Yes. You need to apply a patch though.

mikko

Re:Conditions plugin 5 years, 8 months ago #14429

  • Posts:
  • Karma:
hi mikko,

I found the problem, at least for one question...

your script is packaging the old files (2006-05-28) in the "root" of the zip of the conditions plugin and the updated files in var-www-html-joomla-components-com_comprofiler-plugin-user-plug_conditions
that is the reason for the install errors.


the comprofiler.php.changed.txt only includes this text:
"Direct Access to this location is not allowed." .. so there is probably a script issue as well, or something else


i still get an plugin installation error, because the tables still exist (from an older installation)

SQL Error DB function failed with error number 1060
Duplicate column name 'conditionid' SQL=ALTER TABLE `jos_comprofiler_field_values` ADD `conditionid` INT;
SQL =
 
ALTER TABLE `jos_comprofiler_field_values` ADD `conditionid` INT;

maybe the old tables should be dropped before or something

I will delete the old tables and try it again (tomorrow), but i'm pretty sure, that everything will work fine then.. but as mentioned there is still trouble with the modified comprofiler.php, maybe you could just zip it up and add it again.

thanks for your efforts! this plugin and the cb_search modifications give people a huge increase of possibilities on how to use CB. Keep up the good work, I appreciate it very much!

Post edited by: bzn, at: 2006/06/01 02:13
________________________________________
I'm running Joomla v1.5.5 and CB v1.1

Re:Conditions plugin 5 years, 8 months ago #14442

  • Posts:
  • Karma:
Just drop that column before installing.

I updated the files and they should work now.

mikko

Re:Conditions plugin 5 years, 8 months ago #14452

  • Posts:
  • Karma:
ok the plugin can be installed now (after I dropped the relevant tables and table entries and deleted the files on the ftp by hand).
but it seems that you included the original comprofiler.php and not the modified to your download dir. I did a file compare and no differences were found.
Could you include the already patched comprofiler.php?

Furthermore I'm not sure if the patchfile "comprofiler_patch.txt" is working correctly. I used my linux on my laptop and tried to apply the patch to the original comprofiler.php via "patch comprofiler.php comprofiler_patch.txt" but I got this message:
"Reversed (or previously applied) patch detected! Assume -R? [n]"
choosing no gives a failure for both patch entries.
choosing yes gives "1 out of 2 hunks FAILED"
________________________________________
I'm running Joomla v1.5.5 and CB v1.1

Re:Conditions plugin 5 years, 8 months ago #14455

  • Posts:
  • Karma:
Sorry, there was a bug. The patch is to file comprofiler.html.php

I updated the downloads.

mikko
Time to create page: 0.86 seconds