Search 
Search Forums:


 




receiving fatal error once i activate ajax navigation

Reply to Post
UserPost

1:40 am
July 6, 2008


Roshan

Guest

Hi

I am receiving this error “Fatal error: Using $this when not in object context in……” when i activate the ajax navigation module. If i deactivate everything works fine.

thanks

9:48 pm
July 8, 2008


Michael Marchment

Guest

I’m getting the same problem and its bugging me so much!
I’ve gone through and changed the permissions (double checked it to be sure) to 777 (rwxrwxrwx) just in case and nothing changed it…

Error when activating module:

The module you attempted to activate has an error in it and could not be activated.

Error on Wordpress ‘index’ page:

Fatal error: Call to a member function on a non-object in /var/virtual/web/w0802/html/wordpress/wp-content/plugins/ajaxd-wordpress/modules/ajaxnav/ajaxnav.php on line 596

Line 596:

  1. 593: //Grandfathering it in.
  2. 594:
  3. 595: function awp_posts_nav_link($sep=' — ', $prelabel='« Previous Page', $nxtlabel='Next Page »') {
  4. 596: $this->posts_nav($sep, $prelabel, $nxtlabel);
  5. 597: }

Grrrrr!!! Please help! :D

9:50 pm
July 8, 2008


Michael Marchment

Guest

…Oh, and when i deactivate… this appears at the top of the page after clicking deactivate

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /var/virtual/web/w0802/html/wordpress/wp-content/plugins/ajaxd-wordpress/modules/core_cache/core_cache.php on line 62

Warning: file_get_contents(http://www.focusmag.com.au/wordpress/wp-content/plugins/ajaxd-wordpress/js/core.js.php) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /var/virtual/web/w0802/html/wordpress/wp-content/plugins/ajaxd-wordpress/modules/core_cache/core_cache.php on line 62

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /var/virtual/web/w0802/html/wordpress/wp-content/plugins/ajaxd-wordpress/modules/core_cache/core_cache.php on line 83

Warning: file_get_contents(http://www.focusmag.com.au/wordpress/wp-content/plugins/ajaxd-wordpress/js/core.css.php) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /var/virtual/web/w0802/html/wordpress/wp-content/plugins/ajaxd-wordpress/modules/core_cache/core_cache.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /var/virtual/web/w0802/html/wordpress/wp-content/plugins/ajaxd-wordpress/modules/core_cache/core_cache.php:62) in /var/virtual/web/w0802/html/wordpress/wp-includes/pluggable.php on line 694

1:28 am
July 21, 2008


Riley

Guest

Same Problem

12:31 am
July 29, 2008


clem75

Guest

me too

1:53 am
August 1, 2008


Mike Thrussell

Guest

Same Problem

Fatal error: Call to a member function on a non-object in /home/sites/thrussellsound.co.uk/public_html/blog/wp-content/plugins/ajaxd-wordpress/modules/ajaxnav/ajaxnav.php on line 596

Using WP 2.6

2:16 pm
August 4, 2008


Jesús-Antonio Arroy

Guest

I was able to get around the problem by updating the calls for the nav links.

  1. //Grandfathering it in.
  2. function awp_posts_nav_link($sep=' — ', $prelabel='« Previous Page', $nxtlabel='Next Page »') {
  3. posts_nav_link($sep, $prelabel, $nxtlabel);
  4. }
  5. function awp_previous_posts_link($label='« Previous Page') {
  6. previous_posts_link($label);
  7. }
  8. function awp_next_posts_link($label='Next Page »', $max_page=0) {
  9. next_posts_link($label, $max_page);
  10. }
  11. function awp_previous_post_link($format='« %link', $link='%title', $in_same_cat=false, $excluded_categories = '') {
  12. previous_post_link($format, $link, $in_same_cat, $excluded_categories);
  13. }
  14. function awp_next_post_link($format='%link »', $link='%title', $in_same_cat = false, $excluded_categories = '') {
  15. next_post_link($format, $link, $in_same_cat, $excluded_categories);
  16. }
  17. ?>
  18. Use the following to copy and paste the code.

1:56 am
August 5, 2008


Mike Thrussell

Guest

Sorry - can you explain in more detail where this goes please?

Thanks!

5:20 am
August 5, 2008


Aaron

Admin

posts 226

Please use the developmental version of AWP to fix the error in AWP nav.

11:39 pm
August 5, 2008


Finchi

Guest

Works perfect, except for IE6.
The requested Page is shown for one second, but then immediately replaced by Home.
Is AWP supported for IE6 anyway?

Thanks!

7:21 am
August 6, 2008


Aaron

Admin

posts 226

It was working in IE6.

Reply to Post


Reply to Topic: receiving fatal error once i activate ajax navigation

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 6 + 8        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

6 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 184

Posts: 596

Members:

There are 1 members

There are 173 guests

Aaron has made 226 posts

Top Posters:

Administrator: Aaron