Joomla Version 1.5.26 module php errors - php

hoping somebody can help,
having an issue with a news posting section on a Joomla site: http://buffalowingsandrings.com/#/in-the-news - You'll see if you scroll down, that there are lots of empty fields. We only want to display 10 news stories and we are unsure why these blank ones are appearing.
I didn't build the site, I just have access and have to fix for a client.
After turning on the error reporting we see the following errors:
Notice: Undefined property: stdClass::$created in
/home/content/16/11371716/html/templates/bwr_pages/html/com_content/category/blog_item.php
on line 3 11 September 2014
Notice: Undefined property: stdClass::$readmore_link in
/home/content/16/11371716/html/templates/bwr_pages/html/com_content/category/blog_item.php
on line 6
Notice: Undefined property: stdClass::$title in
/home/content/16/11371716/html/templates/bwr_pages/html/com_content/category/blog_item.php
on line 9
Notice: Trying to get property of non-object in
/home/content/16/11371716/html/components/com_content/views/category/view.html.php
on line 217
Notice: Undefined property: stdClass::$attribs in
/home/content/16/11371716/html/components/com_content/views/category/view.html.php
on line 225
Notice: Undefined property: stdClass::$id in
/home/content/16/11371716/html/plugins/content/vote.php on line 23
Any help would be greatly appreciated!

I may guess that those empty block's might come from inefficient code for the view of this menu item for the extra content settings like intro items or link items.
You can try this:
Go in the menu manager, locate the menu item for this blog page ( in-the-news ) and check its parameters basic section (on the right) for how many articles are set to be displayed.
How many leading and intro articles, how many links...
Maybe you would like to set links to 0 and also experiment with the leading / intro articles count number and see how this affecting the front-end.
Please note also that changes may not appear right after your changes, so clear joomla's and browser cache when checking in the front-end.

Related

CCAvenue Payment Module Giving Error in the Order Cart Page, Prestashop 1.6.1.7

The CC Avenue module is giving the following error on the Order cart page, though the module as such is working and there is nothing wrong in it, but how do I remove this error?
Notice: Undefined index: ccavenue_error_message in /home/desigssq/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 38
Notice: Trying to get property of non-object in /home/desigssq/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 38
This error means that the variable $ccavenue_error_message is in one of the .tpl files of the module, but is not defined in the .php file that calls it.
In the .tpl file, add a condition to the part of the code containing $ccavenue_error_message.
For example if you have:
<div class="error">{$ccavenue_error_message.text}</div>
replace it by:
{if isset($ccavenue_error_message)}<div class="error">{$ccavenue_error_message.text}</div>{/if}
Feel free to add the code of your tpl file so I can give you exactly the part to modify.
You should also ask the developer of the module to correct this bug.

Sudden blank page on WordPress Admin Dashboard

My WordPress Admin Dashboard is experiencing an issue which I have never encountered before. I have not made any updates/changes on WordPress and any plugins. Yet, suddenly my WordPress Admin Dashboard has become like the attached image below.
What I have tried so far to fix this issue:
(1) Increased the WP_MEMORY_LIMIT but it did not worked out
(2) Tried to change wp-admin\includes\screen.php on line 706:
from <?php echo self::$this->_help_sidebar; ?>
to <?php echo $this->_help_sidebar; ?>
But my screen.php file has less than 300 lines of code and does not contain <?php echo self::$this->_help_sidebar; ?> in it. So I cannot change it.
(3) Disabled all plugins(10) by renaming the "plugins" folder and it did solved the blank page issue.
(4) I have set WP_DEBUG to TRUE and got the following messages:
Undefined property: wpdb::$connect_errno in /local/www/html/xxxxx/wp-includes/wp-db.php on line 684 Notice: Undefined property: wpdb::$connect_errno in /local/www/html/xxxxx/wp-includes/wp-db.php on line 684 Notice: The called constructor method for WP_Widget in WPAC_Nav_Menu_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /local/www/html/xxxxx/wp-includes/functions.php on line 3764 Notice: The called constructor method for WP_Widget in Genesis_Featured_Post_with_title is deprecated since version 4.3.0! Use
__construct()
instead. in /local/www/html/xxxxx/wp-includes/functions.php on line 3764 Notice: Constant FORCE_SSL_ADMIN already defined in /local/www/html/xxxxx/wp-config.php 
(5) Disabled the plugins(10) one by one to find out which plugin was the culprit. Interesting enough is that whichever plugin I disabled the blank page issues was still solved . This made it difficult for me to isolate which plugin was the culprit. I might be totally wrong thinking that the plugins may be causing this blank page issues. Currently, I have no idea how to solve/approach this issue and why this is happening.
Any help would be appreciated very much!

Joomla 1.5.3 will not display Menu Items in Menu Item Manager

I'm currently running with PHP 5.3.4. I found that this should be compatible here https://joomla.stackexchange.com/questions/786/what-is-the-maximum-version-of-php-that-joomla-1-5-will-run
However I did have some PHP issues that I resolved with this link: Joomla menu not showing
After doing this I was able to see the menu items show up correctly for my site. However in the Menu Item Manager inside the Joomla admin the errors listed below are thrown when debugged. Menu items will not display at all and the list is blank. What is causing these errors to be thrown and not display my menu items in the Joomla Admin yet display on the website perfectly?
Warning: Parameter 4 to JHTMLMenu::treerecurse() expected to be a reference, value given in D:\Inetpub\wwwroot\libraries\joomla\html\html.php on line 87
Warning: array_slice() expects parameter 1 to be array, null given in D:\Inetpub\wwwroot\administrator\components\com_menus\models\list.php on line 143
Warning: Invalid argument supplied for foreach() in D:\Inetpub\wwwroot\administrator\components\com_menus\models\list.php on line 147 Notice: Only variable references should be returned by reference in D:\Inetpub\wwwroot\administrator\components\com_menus\views\list\view.php on line 198
Warning: Invalid argument supplied for foreach() in D:\Inetpub\wwwroot\administrator\components\com_menus\views\list\view.php on line 66
Sorry, what Joomla 1.5 version do you have?
Remember that only the 1.15.16+ are PHP 5.3 compatible
Look this Post Joomla 1.5 and PHP 5.3 with the same error on line:
libraries\joomla\html\html.php on line 87
I think that you can try to replace the files with error with PhilETaylor version https://github.com/PhilETaylor/Joomla1.5.999
good Luck!
Credit to Ciro, by replacing the following files in my case resolved my issue. There was not a need to replace all Joomla files.
helper.php - found here modules\mod_mainmenu
html.php - found here libraries\joomla\html
view.php - found here administrator\components\com_menus\views\list

WordPress WP-Admin Just Partly blank. Only Left Sidebar shown

I've been using wordpress for a few years without issues. No changes in themes or plugins, and lately I lost the ability to see my wp-admin page fully (Only left sidebar shows, right framelayout is completely blank in every sidebar link I click). The website is still fully functioning and works and I'm able to log-in to the admin page (wp-login.php).
The ONLY pages I can see that loads up is Jetpack, Slideshows, and Feedbacks, Settings -> Portfolio SlideShows Pro/Sharing links.
I've tried:
renaming plugins to deactivate
renaming template (retromania) and uploading twentyeleven
reloaded 'backwpup' auto backup files even all the way back to 2013-7-13-53-23.
Checking functions.php page for empty blanks top and bottom
rewrite wp-config Akismet Key
Attempted to turn on 'WP-Debug', but have no idea where the log goes...
Here is what my error_log says from my /wp/ folder:
[27-Jun-2014 04:06:17 America/Denver] PHP Fatal error: require(): Failed opening required '/home2/wesleych/public_html/wp/wp-includes/load.php' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home2/wesleych/public_html/wp/wp-settings.php on line 21
-- repeated 2 more times--
[27-Jul-2014 16:01:32 UTC] PHP Warning: strip_tags() expects parameter 1 to be string, array given in /home2/wesleych/public_html/wp/wp-includes/formatting.php on line 2911
-- repeated 9 more times --
[27-Jul-2014 16:02:26 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home2/wesleych/public_html/wp/wp-includes/pluggable.php on line 461
-- repeated 8 more times --
[20-Sep-2014 15:34:16 America/Denver] PHP Fatal error: Call to undefined function force_ssl_admin() in /home2/wesleych/public_html/wp/wp-login.php on line 15
[20-Sep-2014 21:47:57 UTC] PHP Notice: Undefined index: backwpup_int in /home2/wesleych/public_html/wp/wp-includes/cron.php on line 103
I've been scowering the web for some similar issues, seems like all places I looked only talks about completely blank wp-admin pages.
Any suggestions? =)

cakePHP Blog error messages

I am trying to set up a cakePHP blog. Following the steps at:
http://www.marcofolio.net/webdesign/building_a_blog_with_cakephp_part_1_getting_started.html
but when I get to the stage of creating 'article.ctp' in order to view the 'Read More' part of the blog. I get the following error messages:
Notice (8): Undefined index: id = 1 [CORE/Cake/Model/Model.php, line 2519]
Notice (8): Undefined index: id = 1 [CORE/Cake/Model/Model.php, line 2495]
Notice (8): Undefined variable: articles [APP/View/Blog/article.ctp, line 1]
Sadly this is hosted on my test server locally in MAMP so I can't show you the live error I am getting. But just thought id check and see if anyone has had similar issues with this (I believe its a common beginner tutorial for learning to use cakePHP)
That's an ancient tutorial, try out the cakephp 2.x blog tutorial from the official site:
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
And your error is quite simple, the variable $articles does not exist in your view, so you haven't set the variable in your controller with $this->set('articles', 'value');

Categories