Welcome, Guest. Please login or register.
August 20, 2008, 05:15:29 PM

Login with username, password and session length
Search:     Advanced search
Website Baker 2.7.0 (stable) veröffentlicht!
Nähere Informationen findet ihr hier.
Das Diskussionsboard findet ihr hier.
60556 Posts in 9791 Topics by 5824 Members
Latest Member: blubb
* Home Help Search Login Register
+  Website Baker Community Forum
|-+  English
| |-+  Modules
| | |-+  Module Version Checker
Pages: [1] 2 Go Down Print
Author Topic: Module Version Checker  (Read 3670 times)
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« on: September 28, 2006, 02:40:25 PM »

Hi all...
I've developed along with Matthias a new Module for WB

Module Version Checker v0.5
A Module to check and compare your version of all installed modules against the www.opensourcebakery.de server or your own user defined servers

With this module, you can quickly check the versions of all installed modules and see which ones have new versions available.

Features:
+ default checks against www.opensourcebakery.de
+ user define update servers - allows easy access to check multiple servers you administer

After install, you can find the module, uder Settings, Show Advanced Options, then near the bottom of the page, Module Update Check 

ChangeLog History of Development & screenshots:
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/modules-mods/module-checker.php

Additional Help & Info:
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/modules-mods/module-checker/help.php

Have fun and hope we all come up with more new good ideas

Rob
« Last Edit: September 28, 2006, 03:57:17 PM by rsmith » Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #1 on: September 28, 2006, 03:39:46 PM »

Hi Rob,

found a little issue in tool.php. $updateserver should be $server in the link at the bottom. fixed it. Attached version 0.5a

thanks for this modul

Matthias

Edit:
Newer version some posts below
« Last Edit: September 29, 2006, 08:17:06 AM by ruebenwurzel » Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« Reply #2 on: September 28, 2006, 03:57:48 PM »

Oops.. thanks for the fix... teach me to work at work Wink

Rob
Logged
kweitzel
Forum Team
A Baker's Baker
*****
Offline Offline

Posts: 4214


WWW
« Reply #3 on: September 28, 2006, 05:14:17 PM »

great little module, just tested it this afternoon ... Rob, you rock wink

cheers

Klaus
Logged

pcwacht
Guest
« Reply #4 on: September 28, 2006, 09:13:02 PM »

Sorry Rob... didn't have time sooner to test..  *bows friendly


I tried this addon (0.5a)
All I got was ascreen where I could edit the server....
No list none what so ever of installed modules so I did check what I had installed Wink
- template_edit, sitemap, manual, bookmarks, show_menu2 and some others

All I get is some text, the dropdown and the edit server button.
Beneath that (the place where the modules should be) nothing.


John
Logged
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« Reply #5 on: September 28, 2006, 09:15:55 PM »

HI...

Can you view the source of the page... if errors fall into the dropdown box they "disappear" into the code.....

There are a few modules that do not have an info.php these are older 2.5.x modules that may cause issues...

Let me know and we can find a fix Smiley

Rob
Logged
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« Reply #6 on: September 29, 2006, 01:19:05 AM »

With John's assistance we figured out what the issue was.

php versions before 4.3 does not have the needed function.

attached version 0.5b will check for this and use an alternate method if needed. (php versions 4.0.2+ should work now)


have fun and please lets hear your comments and ideas Smiley
Rob

edit: found in the repository
« Last Edit: September 29, 2006, 11:46:24 AM by rsmith » Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #7 on: September 29, 2006, 08:18:29 AM »

Hello,

updated the Add-Ons Repository to version 0.5b.

Thanks

Matthias
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
dhdesign
Pending Apprentice Baker
**
Offline Offline

Posts: 35


« Reply #8 on: September 30, 2006, 03:35:26 PM »

Excellent module! Smiley

I have 6 sites running Website Baker, and it was always a pain to check module versions.  Installed your module, and was able to check the versions on all of them in less than 10 minutes. Thank you!! Smiley
Logged
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« Reply #9 on: October 04, 2006, 01:10:13 AM »

Hi
With Matthias's assistance The next version 0.6b is ready for download in the repository.

Change Log
+ can enable disable server mode.
+ display of additional modules on the Update server


Have fun..
Thanks Matthias

Rob
Logged
sierrafix
Pending Apprentice Baker
**
Offline Offline

Posts: 16


« Reply #10 on: October 04, 2006, 04:27:20 PM »

Hi,

I get  the following error with Module Update Check 0.6b

Fatal error: Call to undefined function curl_init() in /home/sierra/public_html/wb/modules/modcheck/tool.php on line 91

Are there some solutions?

Ralph
Logged
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« Reply #11 on: October 04, 2006, 04:36:46 PM »

Hi Ralph

Did the previous version work for you?

the "Curl Mode" is the second attempt to get the Update server information.
The first attempt is tring via Filesystem Functions, if this fails it goes to "Curl Mode" which supports older versions...

So there would seem to be something on your server stopping this check...

Filesystem Mode needs a few settings to work... (PHP Version 4.3 and above)
http://us3.php.net/manual/en/ref.filesystem.php

Curl functions were added with PHP version 4.0.2 support additional servers wihtout the
I would guess your server needs to have them added.
http://us3.php.net/manual/en/ref.curl.php


If you can check your php.ini for the needed settings.. or contact your Server Host.. they may be able to let you know if these functions are available.

Hope this helps... Smiley
Rob
Logged
sierrafix
Pending Apprentice Baker
**
Offline Offline

Posts: 16


« Reply #12 on: October 04, 2006, 04:50:39 PM »

Hi,

Did the previous version work for you?
I have not tested it.

the "Curl Mode" is the second attempt to get the Update server information.
The first attempt is tring via Filesystem Functions, if this fails it goes to "Curl Mode" which supports older versions...

So there would seem to be something on your server stopping this check...

Yes, in php.ini I have "allow_url_fopen = Off". After changing it to "On" the Module works great.

For more security I turn this now off again and install curl.

Thanks Ralph
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #13 on: December 04, 2006, 10:18:47 PM »

Hello,

since we are back from the mirror (opensourcebakery.de) to addons.websitebaker.org this should also be the updateserver. So i updated the module version checker with the new updates server adress.

You don't need to install the new version of this modul because there are no other changes as the updateserver. This you also can add manually. Go to the settings of this tool and add the new Updateserver "http://addons.websitebaker.org" and made him activ. Delete the server "http://www.opensourcebakery.de". Thats all.

If you don't wanna do this changes, download the latest version of Modul version checker from the Addons Repository, uninstall the old version and reeinstall the new version, thats all. Upgrading (installing the new over the old) didn't work, because no upgrade script is included in the modul and the default server is set to the database only during install.

Have fun

Matthias
« Last Edit: December 04, 2006, 11:16:52 PM by ruebenwurzel » Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
YeShakka
Junior Baker
****
Offline Offline

Posts: 146



« Reply #14 on: January 21, 2007, 05:02:10 PM »

Hi!

I am getting the same error as described by John

Does this module require special PHP-setting?

Thanks!
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #15 on: January 21, 2007, 05:09:41 PM »

Hello,

did you use the latest version from the addons Page?

What about your server config? Is it IIS or apache? Wich php version? A little bit mor information is always helpfull.

Matthias

Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
YeShakka
Junior Baker
****
Offline Offline

Posts: 146



« Reply #16 on: January 21, 2007, 05:27:41 PM »

  • PHP Version 5.2.0-8
  • Server: Linux
  • Module version 0.7

Thanks for your help!
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #17 on: January 21, 2007, 06:26:18 PM »

Hello,

the tables are created?

Matthias
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
YeShakka
Junior Baker
****
Offline Offline

Posts: 146



« Reply #18 on: January 21, 2007, 07:47:42 PM »

Yes, they are in the db.

When I install the same site on my localhost I can check the modules and everything works. So I suppose that it has to do with the remote server's PHP setting.

I checked but haven't found any unusual function in
tool.php

I will check that issue with the server admin during the week.
Logged
rsmith
Senior Baker
*****
Offline Offline

Posts: 193


« Reply #19 on: January 21, 2007, 07:58:42 PM »

The module needs to be able to get files from a remote location...

it tries this by 2 different methods using file_get_contents and curl
the file functions are disabled by some hosts... this can be checked with phpinfo()
the setting in the php.ini is: allow_url_fopen = on

if you are not getting a list of modules at all.... then its getting stopped at the file/curl section of code... is there any error messages?.. errors turned on?.. previous version work?....

hope this helps..
Rob

Logged
Pages: [1] 2 Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!