jReviews Support Forum

jReviews 1.x => jReviews 1.2.09 => Topic started by: PlayShakespeare.com on February 14, 2008, 03:30:07 AM



Title: Problem with xajax .50
Post by: PlayShakespeare.com on February 14, 2008, 03:30:07 AM
Hi,

I just upgraded from 1.2.08 to 1.2.09 and found my site to be just a blank page. After a lot of troubleshooting, I disabled the xAjax mambot and the site was OK. Changing it's order had no effect so I went to the /mambots/system folder and replaced the xajax files with the previous 0.2.5 stable version instead of the latest beta. Everything's fine now. Is there going to be a problem with jReviews if I'm using this older version? How much of jReviews actually relies on xajax?

Thanks!



Title: Re: Problem with xajax .50
Post by: andragor on February 14, 2008, 06:06:58 AM
I think here is the right fix for you problem:

Quote
The xajax mambot did not get updated to the new version. You need to uninstall it, then go to the jReviews admin and click on the FIX it button that appears in the installation check so the new version is installed. Make sure the mambots/system folder is writable.

If your admin panel is a white page too, just delete all xajax related files from mambots/system/ and install xajax plugin from your latest Jreviews package.


Title: Re: Problem with xajax .50
Post by: PlayShakespeare.com on February 14, 2008, 10:47:55 AM
Admin panel was fine. It was just the site that was a white page.  I also did what you suggested but it didn't fix the problem. The only way I could return the site to normal was to substitute the beta for the stable version.



Title: Re: Problem with xajax .50
Post by: Alejandro on February 14, 2008, 02:59:59 PM
It's possible jReviews will not work correctly with the 0.2.5 version. The main reason why I had to upgrade was to keep compatibility with extensions from some other developer so users who use these extensions would not have any problems.

As the other poster said. You should uninstall the xajax mambot, then go to jReviews admin and click on the fix it button so it does the installation for you. If you get a blank page, enable error reporting and display of errors on your server so you can see the actual error. You can add these lines to index.php of Joomla:

Code:
error_reporting(E_ALL);
ini_set('display_errors','On');


Title: Re: Problem with xajax .50
Post by: Alejandro on February 14, 2008, 03:01:44 PM
Let me add that the administration would be fine because it doesn't use the xajax mambot. So the fact that the mambot did not get correctly updated makes perfect sense with the issue you are having.


Title: Re: Problem with xajax .50
Post by: PlayShakespeare.com on February 14, 2008, 03:11:31 PM
I already did what the previous poster suggested before I posted the issue here. I deleted the xajax files/folder from the mambots/system directory (& uninstalled) and then reinstalled jReviews. This, of course, reinstalled xajax, which rendered my home page blank (yet the admin section still worked).  So the issue is not that it wasn't correctly updated.

As you suggested, I added the error reporting to the index.php but only the blank page appeared--no error appeared. So, I again reverted back to .25 and everything is working normally so far.


Title: Re: Problem with xajax .50
Post by: Alejandro on February 14, 2008, 03:17:10 PM
Very odd because it seems to be working for everyone else, so there's something specific to your situation that is causing this. If you want to make a final test, you can find the xajax4joomlaplugin zip in the jReviews component zip and copy those files directly to the mambots/system folder. Basically the 0.5 xajax folder and the xajax.system files. Just rename the other 2 xajax.system files for the test.

Also, you can try renaming the com_jreviews folders to something else and then uninstall/reinstall jReviews. The other reason this could be happening is if the frontend files for jReviews did not get updated. Do you have in the jReviews component folder a new file called jreviews.lists.php?


Title: Re: Problem with xajax .50
Post by: PlayShakespeare.com on February 14, 2008, 04:24:53 PM
Yes, the jreviews.lists.php file is there and I've completely uninstalled and reinstalled, making sure there were no remnants left over in between. I also tried manually uploading the xajax files as you suggested, but it's the same result as before...a blank page.


Could it be 1.0.14?


Title: Re: Problem with xajax .50
Post by: Alejandro on February 14, 2008, 07:28:22 PM
I am pretty sure it works fine in 1.0.14 because I have seen it in a few of my clients' sites, but I haven't actually upgraded my development version to it. So I'll do that in the next few days and give you an update. In the mean time if you want to try to replicate the issue on your dev site, I can also look at it there if you want. Just send me the specifics via ticket.


Title: Re: Problem with xajax .50
Post by: PlayShakespeare.com on February 15, 2008, 01:48:17 PM
I think I figured it out. When I had the conflict with the phpBB bridge, you suggested that I comment out the JEXEC line in the code below in xajax.system.php :

Code:
if (defined( '_VALID_MOS' ) OR defined( '_JEXEC' )){
/* ok we are in Joomla 1.0.x or Joomla 1.5+ */
if (!defined('_VALID_MOS')) {
/* We are in Joomla 1.5 */
define('_VALID_MOS', '1');
define('_PLUGIN_DIR_NAME','plugins');
define('_BF_PLATFORM','JOOMLA1.5');
} else if (!defined('_JEXEC')){
/* we are in Joomla 1.0 */
// define('_JEXEC', '1');
define('_PLUGIN_DIR_NAME','mambots');
define('_BF_PLATFORM','JOOMLA1.0');
define('JPATH_ROOT', $GLOBALS['mosConfig_absolute_path']);
if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
}
} else {
header('HTTP/1.1 403 Forbidden');
die('Direct Access Not Allowed');
}

The original post was here:
http://www.reviewsforjoomla.com/option,com_smf/Itemid,34/topic,3054.msg12536/#msg12536

Obviously when upgrading Xajax it overwrote this "fix" from before. Last time, the symptom was that the bridge stopped working. This time is was a completely blank site.

Fixed now! Thanks!



Title: Re: Problem with xajax .50
Post by: crystalitc on February 19, 2008, 04:03:39 AM
Hi, There seems to be a conflict with the  xajax.50 and community builder .

Since the upgrade I get this error:
I get this error if I try to update my profile in community builder.
Fatal error: Cannot redeclare class xajaxplugin in /home/xxxxx/public_html/mambots/system/xajax_0.5/xajax_core/xajaxPlugin.inc.php on line 26

Using the latest Jreviews Version 1.2.10

Regards
Glenn


Title: Re: Problem with xajax .50
Post by: Alejandro on February 19, 2008, 06:13:06 AM
What plugins do you have installed?


Title: Re: Problem with xajax .50
Post by: crystalitc on February 22, 2008, 03:56:55 AM
Hi,
Problem solved - had a Community builder pluging conflicting with xajax 05 - removed it and all is well.

Thanks for all your support.

Regards
Glenn


Title: Re: Problem with xajax .50
Post by: rallwright on February 22, 2008, 02:01:29 PM
Hi Glenn,

I am having problems with Xajax 0.5, Community Builder and Easy FAQ. Which plugin of Community Builder was causing the problems?

Thanks,

Rob


Title: Re: Problem with xajax .50
Post by: Alejandro on February 22, 2008, 06:08:56 PM
It was the Yanc Newsletter plugin. I think Easy Faq uses xajax, but doesn't use the xajax mambot. Unfortunately you'll need to choose one of the 2 extensions.


Title: Re: Problem with xajax .50
Post by: gtherm on March 21, 2008, 10:59:54 AM
Hi,
if you have problems with the Yanc component please refer to this post where the issue was solved today (http://forum.joomla-addons.org/index.php?topic=2471.msg10373) on the Yanc forum


Title: Re: Problem with xajax .50
Post by: padavis on May 10, 2008, 07:37:17 AM
Hi Alejandro,

This latest version of xajax mambot seems to cause problems with UHP2. I get a symptom where all template styling is lost and you just get a page of text.

http://www.hounslowtw3.net/htw3-spaces/viewpage/paul-davis/hounslow-history-&-trivia.html

Turning off the mambot fixes it but obviously means no JReviews.

Is there an alternative xajax mambot I can use that might work with both?

Warmest Regards,

Paul




Title: Re: Problem with xajax .50
Post by: Alejandro on May 10, 2008, 08:46:18 AM
in /mambots/system/xajax.system.php comment out the line

define('_JEXEC',1);


Title: Re: Problem with xajax .50
Post by: padavis on May 12, 2008, 04:12:15 AM
Yeah I had already done this. Hence my confusion with this new one!

Regards

Paul


Title: Re: Problem with xajax .50
Post by: Alejandro on May 12, 2008, 07:04:05 AM
You can see the error at the bottom of the page. The problem is with another extension that loads it's own instance of xajax instead of using the mambot. One example is here:

http://www.reviewsforjoomla.com/option,com_smf/Itemid,34/topic,3363.0/

You'll need to figure out which extension is doing this.