Jump to content

Recommended Posts

Posted

i get a error when i want to access any link in the system tab . i get the error :

substr_compare() [<a href='function.substr-compare'>function.substr-compare</a>]: The length must be greater than zero on line 12 in /home/*****/public_html/blesta/app/views/admin/default/settings_leftnav.pdt

all other links in blesta are working fine .

note i have multi-company enabled .

Posted

i have tested with otehr browsers , the same error , al the admin side work , the company setting work .

admin/settings/system/ --- is workign

admin/settings/system/{anylinkhere} --- not working and give the above error .

EDIT : i have found that the marketplace url is getting it from the config file . don't if this url is added to the upgrade script . i will add it manually and test again .

EDIT 2 : there are no upgrade file upgrade3_4_0_b2.php related to 3.4.0.b2 in the file downloaded from blesta site .

Posted

i have found the market place setting empty in the config file , i have added the market place url , and is now working fine .

Configure::set("Blesta.marketplace_url", "http://marketplace.blesta.com");
i don't know if the upgrade has missed up to ad the value or is a bug in v 3.0.4.b2 .
Posted

The Marketplace should show this:

 

post-38-0-47259700-1419722101_thumb.png

 

In every version until they finish the Marketplace on the blesta site which will be the main area until the plugin is done.

 

And in the config shows:

// The URL to the marketplace
Configure::set("Blesta.marketplace_url", "");
Posted

The Marketplace should show this:

 

attachicon.gifmarketplace.PNG

 

In every version until they finish the Marketplace on the blesta site which will be the main area until the plugin is done.

 

And in the config shows:

// The URL to the marketplace
Configure::set("Blesta.marketplace_url", "");

are you using b2 ? if yes , can you go to app/models/navigation.php

search

'name' => $this->_("Navigation.getsystem.nav_marketplace"),
paste the lines associated with it , the main is

array(
'name' => $this->_("Navigation.getsystem.nav_marketplace"),
'class' => "marketplace",
'uri' => Configure::get("Blesta.marketplace_url"),
'attributes' => array('target' => "_blank")
)
one of us has a wrong version/files !!!
Posted

Yes I am using b2 I have done since they put it out.

 

Files last edited 18/12/2014 17:44:18

Downloaded: ‎18 ‎December ‎2014, ‏‎17:32:11 (18/12/2014 17:32:11)

 

And I also have:

array(
				'name' => $this->_("Navigation.getsystem.nav_marketplace"),
				'class' => "marketplace",
				'uri' => Configure::get("Blesta.marketplace_url"),
				'attributes' => array('target' => "_blank")
			)

6euygtq5.png

Posted

Yes I am using b2 I have done since they put it out.

 

Files last edited 18/12/2014 17:44:18

Downloaded: ‎18 ‎December ‎2014, ‏‎17:32:11 (18/12/2014 17:32:11)

 

And I also have:

array(
				'name' => $this->_("Navigation.getsystem.nav_marketplace"),
				'class' => "marketplace",
				'uri' => Configure::get("Blesta.marketplace_url"),
				'attributes' => array('target' => "_blank")
			)

so the difference was in the config.php , in the mine it was empty value .

maybe the probleme was in the upgrade .... or something else with it , because the config was a empty value .

Posted

so the difference was in the config.php , in the mine it was empty value .

maybe the probleme was in the upgrade .... or something else with it , because the config was a empty value .

 

weird :s

Posted

The system settings nav was updated in 3.4.0-b2 to use the marketplace URL from the config file, however, the value in the config file is not set until v3.4.0. The message you received should have been a PHP warning--not an error--so you may not have been able to view the links because of your error reporting level.

Guest
This topic is now closed to further replies.
×
×
  • Create New...