Gary´s Cookbook Homepage - Problems with upgrade - Gary´s Cookbook Forum
Da die Version von Garys Cookbook für Joomla 1.0x nicht mehr gepflegt wird werden in diesm Forum nur noch allgemeine Fragen beantwortet.

Problems with upgrade

  • Problems with upgrade
  • Topic Author
  • Visitor
  • Visitor
20 years 2 days ago #726 by Problems with upgrade
Problems with upgrade was created by Problems with upgrade
Hello,
I've upgraded to new version, flowing instructions in readme.txt and getting this error when trying to go to cookbook control panel

Fatal error: Call to undefined function: josgetarrayints() in /public_html/administrator/components/com_garyscookbook/admin.garyscookbook.php on line 38

So, I'm not able to complete this upgrade
and this text at the end of reedme file is not very clear:
at The last select the first menu of Garyscokkbook and start on the Adminpanel
Start the Table upgrade please start it allway you install an new Version from Garyґs Cookbook inklude a new Beta.


Where exactly I can do this?
May be one of the files is missing?
I was doing this upgrade manually, because I would like to keep content

Please Log in to join the conversation.

  • Gerald
  • Offline
  • Administrator
  • Administrator
  • Think Pink
More
20 years 2 days ago #728 by Gerald
Replied by Gerald on topic Re:Problems with upgrade
If you dosen´t had installed Joomla1.0.11 you must
put this Code admin.garyscookbook.php at the back of admin.garyscookbook.php
[code:1]
/*
* Function to handle an array of integers
* Added 1.0.11
*/
function josGetArrayInts( $name, $type=NULL ) {
if ( $type == NULL ) {
$type = $_POST;
}

$array = mosGetParam( $type, $name, array(0) );

mosArrayToInts( $array );

if (!is_array( $array )) {
$array = array(0);
}

return $array;
}
[/code:1]

Moderator Developer of Gary´s Cookbook

Please Log in to join the conversation.

  • Eugene
  • Topic Author
  • Visitor
  • Visitor
20 years 1 day ago #730 by Eugene
Replied by Eugene on topic Re:Problems with upgrade
Thank you.
It works.

Please Log in to join the conversation.

  • peter
  • Topic Author
  • Visitor
  • Visitor
19 years 11 months ago #735 by peter
Replied by peter on topic Re:Problems with upgrade
upgrade to Joomla1.0.11 solved the problem

Please Log in to join the conversation.

  • Eugene
  • Topic Author
  • Visitor
  • Visitor
19 years 11 months ago #739 by Eugene
Replied by Eugene on topic Re:Problems with upgrade
This installation problem is corrected, thanks to fast reply.
However, the problem still exist. As soon as I allowed to publish recipes some time ago, this spammer made bookmark for this page. Now you don't have access to add recipes button. However, it you have bookmark for this page, you can easily add your recipe. Is there any simple solution to fix this problem?

Please Log in to join the conversation.

Time to create page: 0.100 seconds