10 years ago
9
Topic

Hi,

I'm new to Seblod. I've created a new content type from 'article' skeleton and after trying to create a new type from admin I redirected to a blank screen after 'save'.

When I go back I can see that the new article type is created.

Tried to create a simple article in Joomla backend and I get similar results - directed to a blank page after save, but the article is created.

I'm working on latest Joomla installation, on wamp (localhost):

Setting Value

PHP Built On Windows NT SPIDY-NOTEB 6.1 build 7600 (Windows 7 Home Premium Edition) i586
Database Version
Database Collation utf8_general_ci
PHP Version
Web Server Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.12
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

Never had any issues before and all setting are correct.

I'm guessing is has something to with Sebold.

Thanks

Get a VIP membership
4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

blank screen would indicate fatal error is happening - you need to enable error reporting in joomla configuration (e.g. set it to maximum), so you can see real error.

572 Posts
_jrmo
10 years ago
0
Level 1

Also make sure that you've got error reporting switched on in wamp:

Click on the "W" in your applications tray

PHP > PHP Settings > Display errors (ticked)

After you've done that please paste the error here.

10 years ago
4
Level 1

Hey guys,

Thanks for your help, found the problem - it was a easysocial content plugin (displays author's avatar and contact in an article) causing the error apparently, not sure why (if anyone knows please let me know)...

Now I get this warning when a new article (from a new content type) created:

Warning

JUser: :_load: Unable to load user with ID: 301

What does it mean and how to avoid this?

Thanks

572 Posts
_jrmo
10 years ago
3
Level 2

Hi ilan,

I don't have any experience with that plugin, but by the sounds of it it's not really neccesary for your website. If you have SEBLOD installed you can use SEBLOD to display the author's avatar and contact in an article.

  1. First you will need this field, published on your "Article" content type: http://www.seblod.com/products/10868
  2. Then in the "intro" view of your "User" content type you assign the fields you want to dispay: in your case I assume this is the Article Created By field and a User Avatar field.

Then you will be able to see the user's profile picture on your Article content type. If you want to customise the output, you can do a template override on the user intro view.

Thanks

James

10 years ago
2
Level 3

Hey _jrmo, thanks for the tip.

I really need registration via Facebook and getting the Avatar image, name, etc. Also the ability to send messages to users.

Any quick tutorial on how to achieve this?

Thanks in advance.

572 Posts
_jrmo
10 years ago
1
Level 4

I would say use this plugin to handle the FB profile / login functionality:

http://extensions.joomla.org/extensions/social-web/social-display/facebook-integration/7215

And do the rest with SEBLOD

10 years ago
0
Level 5

I appreciate your help but I don't want to spend more money on another extension which will do the same as the extension I already have (and paid for it).

I thought maybe this could be done natively in Seblod, else there's no point for buying another extension...

10 years ago
1
Level 1

Here is the error message I get with easysocial content plugin enabled when saving an article:

( ! ) Fatal error: Class 'ContentHelperRoute' not found in C:\wamp\www\demo\plugins\content\easysocial\easysocial.php on line 371
Call Stack
#TimeMemoryFunctionLocation
10.0000136368{main}( )..\index.php:0
20.06242178112JApplicationCms->execute( )..\index.php:42
30.06242178376JApplicationAdministrator->doExecute( )..\cms.php:251
40.18725411048JApplicationAdministrator->dispatch( )..\administrator.php:159
50.18725450872JComponentHelper::renderComponent( )..\administrator.php:98
60.18725601488JComponentHelper::executeComponent( )..\helper.php:332
70.18725627360require_once( 'C:\wamp\www\demo\administrator\components\com_cck\cck.php' )..\helper.php:352
80.21846190256JControllerLegacy->execute( )..\cck.php:33
90.21846190456CCKControllerForm->save( )..\legacy.php:730
100.21846366040CCKModelForm->store( )..\form.php:40
110.21846422768include_once( 'C:\wamp\www\demo\libraries\cck\base\form\store_inc.php' )..\form.php:22
120.343210559464JEventDispatcher->trigger( )..\store_inc.php:159
130.343210560264JEvent->update( )..\dispatcher.php:162
140.343210560768call_user_func_array:{C:\wamp\www\demo\libraries\joomla\event\event.php:71} ( )..\event.php:71
150.343210560920plgCCK_Storage_LocationJoomla_Article->onCCK_Storage_LocationStore( )..\event.php:71
160.343210561632plgCCK_Storage_LocationJoomla_Article->_core( )..\joomla_article.php:265
170.421211737640JEventDispatcher->trigger( )..\joomla_article.php:358
180.421211738120JEvent->update( )..\dispatcher.php:162
190.421211738576call_user_func_array:{C:\wamp\www\demo\libraries\joomla\event\event.php:71} ( )..\event.php:71
200.421211738728PlgContentEasySocial->onContentAfterSave( )..\event.php:71
210.436812165720PlgContentEasySocial->createStream( )..\easysocial.php:268

Any suggestions?

4229 Posts
Kadministrator
10 years ago
0
Level 2

open main file of the plugin and add at the top of the file

include_once JPATH_SITE . "/components/com_content/helpers/route.php";
Get a Book for SEBLOD