Results 1 to 3 of 3
  1. #1
    Casual Pligger mickscool's Avatar
    Joined
    Oct 2007
    Posts
    40

    Encountering lots of errors using Pligg v9.8

    Hi Friends,
    I have using "Pligg 9.8/yget template/mysql 5" and from the logs,I see lots and lots of errors of this kind:

    Code:
    [client xx.xxx.xx.x] PHP Notice:  Undefined index:  return in /home/user/public_html/templates_c/c_02c60e36719986c34b1cd6f92ff68298.php on line 28, referer: http://www.xxx.com/topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  x in /home/user/public_html/libs/link.php on line 762, referer: http://www.xxx.com/topic_title
    
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/scriptaculous/scriptaculous_settings.php on line 8, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/admin_language/admin_language_settings.php on line 15, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/embed_videos/embed_videos_settings.php on line 15, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/ajaxcontact/ajaxcontact_settings.php on line 19, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/admin_formulas/admin_formulas_settings.php on line 16, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/send_announcement/send_announcement_settings.php on line 16, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/rss_import/rss_import_settings.php on line 15, referer: http://www.mysite.com/story.php?title=topic_title
    [client xx.xxx.xx.x] PHP Notice:  Undefined variable:  main_smarty in /home/user/public_html/modules/submitpro/submitpro_settings.php on line 19, referer: http://www.mysite.com/story.php?title=topic_title
    I researched on Pligg forums,and i noticed this solution someone recommended:
    http://forums.pligg.com/bug-report/2...ty-oops-2.html
    i.e
    Code:
    goto ./libs/tags.php and on line 12 change
    
    Quote:
    function tags_normalize_string($string) {
    $string = preg_replace('/[\.\,] *$/', "", $string);
    return mb_strtolower($string, 'UTF-8');
    }
    to
    
    Quote:
    function tags_normalize_string($string) {
    $string = preg_replace('/[\.\,] *$/', "", $string);
    return strtolower($string);
    }
    in other words change mb_strtolower to strtolower and ($string, 'UTF-8') to ($string).
    But in Pligg 9.8 when i check the libs/tags.php file,i see this:
    Code:
    function tags_normalize_string($string) {
    	$string = preg_replace('/[\.\,] *$/', "", $string);
    	return utf8_strtolower($string);
    }
    So,should i change this to:
    Code:
    function tags_normalize_string($string) {
    	$string = preg_replace('/[\.\,] *$/', "", $string);
    	return strtolower($string);
    }
    Do you think this would resolve the issue??? Please help as to why i am getting so many errors.

    Thanks

  2. #2
    VLJ
    VLJ is offline
    Pligg Donor VLJ's Avatar
    Joined
    Feb 2007
    Posts
    60
    No answer on this from the devs? I just logged in aftr noticing the exact same errors on my local MAMP installation of 9.8.2 and seeing the same errors plus many more.

  3. #3
    VLJ
    VLJ is offline
    Pligg Donor VLJ's Avatar
    Joined
    Feb 2007
    Posts
    60
    Follow up to mickscool on editing based on the 'Submit step 3 is empty, oops' topic... That's a way old topic. Don't trust it at all. That function works fine in the newer versions of Pligg. I just dont know why I am seeing the exact same errors.

Similar Threads

  1. Replies: 3
    Last Post: 02-14-2007, 11:26 AM
  2. Replies: 1
    Last Post: 02-05-2007, 02:26 PM
  3. Install Errors - LOTS OF THEM
    By jjmusicpro in forum Questions & Comments
    Replies: 1
    Last Post: 01-22-2007, 02:51 PM
  4. Lots of errors after installing latest 8.10 Pligg
    By cashsg in forum Questions & Comments
    Replies: 2
    Last Post: 10-15-2006, 05:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting