msg# 1
After update Xoops 2.0.13.2 to 2.0.14, plugin doesn't show up in MinicalendarEx. Help?!
On this site
Votes:11
Average:9.09
msg# 1.1
Votes:10
Average:9.00
msg# 1.1.1
PinMaster, I saw that topic, but I had some errors. I hope you can help me out.
I edit file pluginsmanager.php. Now I get this error: Parse error: parse error, unexpected '}' in /home/svsteenwijkerwold/www/modules/piCal/admin/pluginsmanager.php on line 126
I edit myblocksadmin.php. And I get this error: Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/svsteenwijkerwold/www/modules/piCal/admin/myblocksadmin.php on line 223
Votes:9
Average:10.00
msg# 1.1.1.1
I think that it must be an error copy-past.
Or then do you uses an old version of piCal (lower than 0.87)?
Votes:10
Average:9.00
msg# 1.1.1.1.1
I do use version 0.87. I can't figure out what went wrong with copy and paste. Is there a way that you send me the correct files? When I use the original pluginsmanager.php and myblocksadmin.php, the admin function works, but on the startpage of my site the plugin does not show in MinicalendarEx.
Votes:10
Average:9.00
msg# 1.1.1.1.1.1
Do not forget to empty the directort "cache" and "template_c".
Votes:9
Average:10.00
msg# 1.1.1.1.1.1.1
I did that too. No luck!
Votes:11
Average:8.18
msg# 1.1.1.1.1.1.1.1
It must be a problem of interpretation, I misuse google for the translation. Sorry.
Tomorrow, I prepare and reverify these modifications. And I would put the files to be downloaded.
Votes:11
Average:8.18
msg# 1.1.1.1.1.1.1.1.1
Thank you, I will wait and see.
Votes:11
Average:9.09
msg# 1.1.1.1.1.1.1.1.1.1
It was me which had made a bad update of the post, it is corrected now.
Good here, the file to be downloaded:
piCal_fix2014.zipDecompress, upload, clear the directory 'cache' and 'template_c'. And it will be good.
Votes:10
Average:10.00
msg# 1.1.1.1.1.1.1.1.1.1.1
The Blocks&Groups admin works okŹ«±, but I think I miss the pluginsmanager.php file. The Pluginsmanager still gives an error: unexpected T_STRING in modules/piCal/admin/pluginsmanager.php on line 130.
Votes:25
Average:6.40
msg# 1.1.1.1.1.1.1.1.1.1.1.1
For pluginsmanager, you can use the file of origin of piCal.
The bug that I had discovered does not appear that in very rare caseˇÄ I saw it that onceˇÄ there I do not see it any more.
Votes:10
Average:9.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1
Everything seems to work now, but still I have no plugin on my startpage. I have two php debug errors:Errors
Notice: Undefined index: i in file /modules/piCal/blocks/pical_minical_ex.php line 34
Notice: Undefined index: block_arr in file /modules/piCal/blocks/pical_minical_ex.php line 34
I hope you can help me out.
Votes:12
Average:7.50
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1
These ˇČNoticeˇÉ do not have real an incidence. If you have these ˇČNoticeˇÉ that indicates that xoops is under version 2.0.14 or superior.
On my web site is good :
http://lipom.org/?caldate=2006-7-31Check that your plug' in is active. Which use you? (and module version)
PS : I think that they is a concern with the file "cache" and "template_c".
Votes:15
Average:8.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
I don't get it. Updated to 0.87 and implemented your fix. Everything works okŹ«±. I emptyed cache and template_c many times, but still no plugin in MinicalendarEx. I use plugin piCal.php and news.php, both are enabled. Perhaps I have to let it be..
Votes:10
Average:9.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
I has just made a test with the plug' in pical on minicalandar_ex, and that functions. I don't understand your problem.
There is a menu dedicated to the maintenance of the tables on piCal. Look at if it would not have an error there.
There remains however a solution to correct your problem but usable that in your precise case.
It will be necessary to modify request SQL with your values taken in phpmyadmin and the name of the file of installation of piCal.
Replace the ligne :
$sql_mid_mod = "SELECT mid FROM ".$xoopsDB->prefix('modules')." WHERE dirname = '$mydirname'";
$mcx_sql = $xoopsDB->query( "SELECT bid FROM ".$xoopsDB->prefix("newblocks")." WHERE mid=($sql_mid_mod) AND show_func='pical_minical_ex_show'" ) ;
list($bid)= $xoopsDB->fetchRow( $mcx_sql );
By :
With value_mcx equal of value numeric in pi_type. At home, I thus have mcx31ˇÄ value_mcx = 31 .
In result ligne :
I hope that there that will be good.
Votes:10
Average:9.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
Thanks for your patience. I checked maintenance of the tables: There is no error with tables or records. Your solution to correct my problem, I don't realy understand this, sorry. "Replace the ligne:" of which file? Can you be more specific? My value numeric in pi_type=mcx79.
Votes:10
Average:8.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
In the file pical_minical_ex.php at the line 40, is here :
$sql_mid_mod = "SELECT mid FROM ".$xoopsDB->prefix('modules')." WHERE dirname = '$mydirname'";
$mcx_sql = $xoopsDB->query( "SELECT bid FROM ".$xoopsDB->prefix("newblocks")." WHERE mid=($sql_mid_mod) AND show_func='pical_minical_ex_show'" ) ;
list($bid)= $xoopsDB->fetchRow( $mcx_sql );
Replace by :
Votes:10
Average:8.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
Thanks, that did the trick! Can you explain what the cause of this error is? Is there something wrong with the module PiCal or with my site or hostingserver?
Votes:10
Average:9.00
msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
The module piCal and this patch are very well.
I think that it is side server or of the site:
-> use of hack
-> use of the module protector (little chance that that comes from him)
-> configuration of the mysql server, imbricated request not taken of load (extremely probable)
Votes:9
Average:10.00
msg# 1.1.1.1.1.1.1.1.1.1.2
I ran into the same problem using piCal 0.89 on XOOPS 2.0.16.
Here is PinMaster's excellent fix, fitted to piCal 0.89.As with anything I do, use at your own peril. Back up the files in question first. Back up the backups .......
JP
Votes:9
Average:7.78