All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: [SOLVED] Broken links in WP-ServerInfo 1.40?  (Read 9165 times)

0 Members and 1 Guest are viewing this topic.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
[SOLVED] Broken links in WP-ServerInfo 1.40?
« on: 12 December 2008, 09:57 »
I'm testing the new WP-ServerInfo 1.40 and if in "General Overview" (wp-admin/index.php?page=wp-serverinfo/wp-serverinfo.php) I click on "Display PHP Information" or on "Display MySQL Information" nothing happens.

Is it correct?
« Last Edit: 12 December 2008, 14:52 by Aldo »
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Broken links in WP-ServerInfo 1.40?
« Reply #1 on: 12 December 2008, 10:35 »
Hmm, I can't reproduce this, I click PHP and it displays PHP info and if I click MYSQL, it displays MYSQL info.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Broken links in WP-ServerInfo 1.40?
« Reply #2 on: 12 December 2008, 10:44 »
In other words, I see the same table as General Overview if I click on those links.

In effect, the link has an anchor "#DisplayPHP" at the end of the URL, that seems to be linking to a section of the same page. But the table is only one. Perhaps would the "#DisplayPHP" open a new page or link to a section of the same page?
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Broken links in WP-ServerInfo 1.40?
« Reply #3 on: 12 December 2008, 10:56 »
Clicking on the link will hide the current view and show another view all on the same page without refreshing. I can't reproduce this problem, it works fine on both of my sites using IE7 and FF3

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Broken links in WP-ServerInfo 1.40?
« Reply #4 on: 12 December 2008, 11:00 »
No, nothing happens :'(
Perhaps it depends on some setting of my server. It runs PHP 5.2.8.

Thank you for your support! :)
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Broken links in WP-ServerInfo 1.40?
« Reply #5 on: 12 December 2008, 11:11 »
Can you check using FireBug on FireFox to see if it is a JS error?

How you upgraded to WP2.7?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Broken links in WP-ServerInfo 1.40?
« Reply #6 on: 12 December 2008, 11:36 »
Here an image from FireBug. I have 3 errors:
 
Free Image Hosting by ImageBam.com
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Broken links in WP-ServerInfo 1.40?
« Reply #7 on: 12 December 2008, 13:24 »
Looks like a problem with your WordPress installation. I would suggest deleting everything EXCEPT /wp-content/ and wp-config.php and re-download WP2.7 and upload it again.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Broken links in WP-ServerInfo 1.40?
« Reply #8 on: 12 December 2008, 13:54 »
I've just deleted all my WP installation (except wp-content and wp-config.php) and re-uploaded fresh 2.7 files.
The errors still remain:
Code: [Select]
toggle_general is not defined
onclick(click clientX=546, clientY=122)index.ph...ZDg%3D%3D (riga 2)
[Break on this error] toggle_general();
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Broken links in WP-ServerInfo 1.40?
« Reply #9 on: 12 December 2008, 14:06 »
Can you view the HTML source and see if this line of code is added
Code: [Select]
<!-- Start Of Script Generated By WP-ServerInfo 1.40 -->

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Broken links in WP-ServerInfo 1.40?
« Reply #10 on: 12 December 2008, 14:29 »
No, that line is missing.
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Broken links in WP-ServerInfo 1.40?
« Reply #11 on: 12 December 2008, 14:39 »
I can solve your problem easily.

In wp-serverinfo.php, Find:
Code: [Select]
add_action('admin_head-dashboard_page_wp-serverinfo/wp-serverinfo', 'serverinfo_head');Replace:
Code: [Select]
add_action('admin_head', 'serverinfo_head');
Lets see if anybody reported the same problem

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Broken links in WP-ServerInfo 1.40?
« Reply #12 on: 12 December 2008, 14:46 »
Weeeeeeeeeeeee.... solved!

You're a wizard of PHP!  ;D
To get the full value of the knowledge we need to share it with someone.

Offline jlcarneiro

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #13 on: 16 January 2009, 12:34 »
[...] Lets see if anybody reported the same problem


I also had the same problem. And solved it the same way. Is it a problem in the plugin? If so, next version will be ok or will I have to change it again?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #14 on: 16 January 2009, 14:24 »
If you are using WP2.7, it should work. I got no problem getting it to work.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline jlcarneiro

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #15 on: 16 January 2009, 14:49 »
Weird! I use WP2.7 and had the same problem. And, for what I read, Aldo also uses 2.7, doesn't he?

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #16 on: 16 January 2009, 15:34 »
Weird! I use WP2.7 and had the same problem. And, for what I read, Aldo also uses 2.7, doesn't he?


Yes, I use WP 2.7.
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #17 on: 16 January 2009, 19:02 »
I cannot seem to reproduce this problem on my end on another WP install and WP2.8 Bleeding. If you can reproduce it let me know

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline agamum

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #18 on: 18 February 2009, 12:42 »
Hi!

I was getting the same problem in various WP 2.7 (and 2.7.1) installations on different servers. So after checking the plugin code for calling the .js file required, I managed to fix it in a better way.

Now, it's working and the .js file it's only loaded on the plugin page (as intended by GaMerZ).

How to fix:

At wp-serverinfo.php in line 42, you'll see something like this:
Code: [Select]
add_submenu_page('index.php',  __('WP-ServerInfo', 'wp-serverinfo'),  __('WP-ServerInfo', 'wp-serverinfo'), 1, 'wp-serverinfo/wp-serverinfo.php', 'display_serverinfo');

Replace it by these two lines:
Code: [Select]
$plugin_page = add_submenu_page('index.php',  __('WP-ServerInfo', 'wp-serverinfo'),  __('WP-ServerInfo', 'wp-serverinfo'), 1, 'wp-serverinfo/wp-serverinfo.php', 'display_serverinfo');
  add_action( 'admin_head-'. $plugin_page, 'serverinfo_head' );

And remove line 48, it looks like this:
Code: [Select]
add_action('admin_head-dashboard_page_wp-serverinfo/wp-serverinfo', 'serverinfo_head');
Now save changes, upload it to your server, and... see it working ;D



Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: [SOLVED] Broken links in WP-ServerInfo 1.40?
« Reply #19 on: 18 February 2009, 13:23 »
That is weird, but I can't reproduce it on my end.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.