Search 
Search Forums:


 




trouble activating

Reply to Post
UserPost

11:29 pm
May 8, 2008


Kit Mobley

Guest

i’m running latest 2.5.1 and PHP PHP Version 5.0.5.
i uploaded the zip file and decompressed in plugins folder, went to go activate and i get this

Fatal error: Only variables can be passed by reference in /var/www/web40/web/brightantenna/wp-content/plugins/ajaxd-wordpress/aWP.php on line 103

anyone else?

8:48 pm
May 9, 2008


Aaron

Admin

posts 247

Try opening aWP.php and replace
return end(explode('/', str_replace(array('\\','/aWP.php','/awp.php'),array('/',''),__FILE__)));

With:

  1. $base = str_replace(array('\\','/aWP.php','/awp.php'),array('/',''),__FILE__);
  2. $base = explode('/', $base);
  3. $base = end($base);
  4. return $base;

Let me know if it still gives an error and what is on the line the error is called on.

10:26 am
May 12, 2008


Kit Mobley

Guest

IT WORKED THANKS FOR YOU HELP!

Reply to Post


Reply to Topic: trouble activating

Name (Required):

EMail (Required):

Website):

Guest URL (required)

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

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

8 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 236

Posts: 720

Members:

There are 1 members

There are 227 guests

Aaron has made 247 posts

Top Posters:

Administrator: Aaron