Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Joomsef and Gantry5 Framework make critical error
(1 viewing) (1) Guest
If you want to ask question about the product features, licensing conditions or other questions prior to purchase, please, do it here.
  • Page:
  • 1

TOPIC: Joomsef and Gantry5 Framework make critical error

Joomsef and Gantry5 Framework make critical error 4 years, 3 months ago #47552

  • Seifer
Hello. I just tests JoomSEF. I use Gantry5 framework. Gantry5 with JoomSEF making critical error:
Cannot redeclare class JText

Open: joomla/components/com_sef/helpers/methods.php
if ($xhtml) {
$url = htmlspecialchars($url);
}
 
return $url;
}
}
 
class JText
{
/**
* javascript strings
*
* @var array
* @since 11.1
*/

protected static $strings=array();
 
/**
* Translates a string into the current language.


components/­com_sef/­helpers/­methods.php:105


I don't want buy JoomSEF subcription if it's impossible to work with Gantry5 and other extensions what I need.

This problem is from JoomSEF side or Gantry5 side?

Do you fix it?

Sorry for my bad english.
Regards.
The topic has been locked.

Re: Joomsef and Gantry5 Framework make critical error 4 years, 3 months ago #47564

  • dajo
  • OFFLINE
  • Posts: 5070
Hello,

I've just tested Gantry 5 framework and its Hydrogen theme with JoomSEF 4.6.6 on Joomla 3.5.1 and I haven't encountered this problem.
Please make sure that the System - ARTIO JoomSEF plugin is ordered as the FIRST system plugin in Joomla's Plugin Manager.
ARTIO Support Team
The topic has been locked.

Re: Joomsef and Gantry5 Framework make critical error 4 years, 3 months ago #47581

  • Seifer
The whole time I'm fighting with errors. I noticed that the error is only after you create a subdomain. When I delete all of the subdomains, joomla + JoomSEF is working properly.

At this point that if a subdomain are created an error 500 is obtained.

In nginx error.log appears entry:
2016/05/02 20:11:39 [error] 16386#0: *3226 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare class JText in /path/to/root/my.domain/components/com_sef/helpers/methods.php on line 105" while reading response header from upstream, client: XXX.XX.XXX.XX, server: my.domain, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "my.domain"
 

It seems, however, that Gantry5 actually has nothing to do with the error.
The new installation of Joomla and JoomSEF also get this error.

The strange thing is that Joomla + JoomSEF with subdomains few days ago work properly on this server ...

I would add that nothing on the server been changed.

System: Debian 8 Jessie
Web Server: nginx / 1.6.2
WebServer to PHP interface: fpm-fcgi
Joomla! Version: Joomla! 3.5.1 Stable [Unicorn] 05-April-2016 22:45 GMT
JoomSEF: 4.6.6 (also tried earlier versions)
System - ARTIO JoomSEF plugin ordering: 0

Target extensions that I want to work with Joomla:
-JoomSEF
-Falang
-AltaUserPoints
-K2
-PayPlans
-Widgetkit
-Gantry5

and I need to JoomSEF subdomains works with K2 categories. (something like Category as Subdomain)

I really need help with it.

Regards,
Seifer
Last Edit: 4 years, 3 months ago by .
The topic has been locked.

Re: Joomsef and Gantry5 Framework make critical error 4 years, 3 months ago #47587

  • dajo
  • OFFLINE
  • Posts: 5070
Dear Seifer,

Could you please send us an e-mail to This e-mail address is being protected from spambots. You need JavaScript enabled to view it with exact steps to replicate the error on a fresh Joomla installation? I haven't encountered this error during testing even with subdomains enabled.
Thank you.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty