Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Conditions plugin

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 6 months ago #14425 by Raj
Replied by Raj on topic Re:Conditions plugin
So...the conditions plug in is working fully with 1.0 Stable now?

Raj

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 6 months ago #14427 by mikko
Replied by mikko on topic Re:Conditions plugin
Yes. You need to apply a patch though.

mikko

Please Log in or Create an account to join the conversation.

  • bzn
  • bzn
  • OFFLINE
  • Posts: 21
  • Thanks: 0
  • Karma: 2
18 years 6 months ago #14429 by bzn
Replied by bzn on topic Re:Conditions plugin
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)

[code:1]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;[/code:1]
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

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 6 months ago #14442 by mikko
Replied by mikko on topic Re:Conditions plugin
Just drop that column before installing.

I updated the files and they should work now.

mikko

Please Log in or Create an account to join the conversation.

  • bzn
  • bzn
  • OFFLINE
  • Posts: 21
  • Thanks: 0
  • Karma: 2
18 years 6 months ago #14452 by bzn
Replied by bzn on topic Re:Conditions plugin
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

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 6 months ago #14455 by mikko
Replied by mikko on topic Re:Conditions plugin
Sorry, there was a bug. The patch is to file comprofiler.html.php

I updated the downloads.

mikko

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum