![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| non-english category names i created a category äüpligg2 which contains non-english chars: it saves and shows the name correctly. categories sidebar correctly shows the category name but url is wrong. in url strings those chars are not shown. for test category äüpligg, url is shakeit.php?category=pligg2 whereas it should be shakeit.php?category=aupligg2. but when you click on the wrong url it goes to that category. breadcrumb is incorrectly shown as "Your Location: Pligg beta 9 Home » Unpublished » pligg2". it seems like non-english chars are truncated everywhere. on top of every page following error comes up regardless of which page you're going: Warning: Invalid argument supplied for foreach() in /home/andre/www/pligg/libs/html1.php on line 136. p.s: i dont what i did but now i cannot save a new category with non-english chars in. it shows the above error on inline edit. i'm not sure if this is bug, but, if you set "Show the URL input box" as false then this error comes up while submitting a story. when you change back everything is normal. URL is invalid or blocked: (http://) try again test config: local linux machine with php 4.4.4 and mysql 4.1.12. |
| Sponsored Links |
|
Check out the New Templates at the Pligg Pro Shop.
|
| ||||
| I think Savant may have fixed this http://pligg.svn.sourceforge.net/vie...v&revision=712
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| |||
| when i upgrade latest revision page only shows this and nothing else: Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/andre/www/pligg/libs/utils.php on line 267 also i'm constantly getting Warning: Invalid argument supplied for foreach() in /home/andre/www/pligg/libs/html1.php on line 136 error on top of non-admin published/unpublished and admin category management pages but it seems to work and i dont get it. |
| ||||
| hmm i didn't touch that part. I'll look into it.
__________________ Anatomy of the Pligg template Help needed |
| |||
| Savant please look also at Invalid argument supplied for foreach() error on html1.php |
| ||||
| Don't copy the entire file when you see a bugfix. Click on "text changed" to see the exact code that was changed. You may have copied over code that's not compatible with your version.
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| |||
| i'm using the latest 702 release. for the category thing: i think problem is (responsible part of the) script does not look at the utils.php for char conversion. it just strips out the non-english chars and then write to category safe name column. in other words: original name - category_name column - category_safe_name column äüpligg2 - äüpligg2 - pligg2 the problem of foreach() is related to something else i think. when i did fresh install this error were not there. after i started testing then it began to appear. my theory on this is that foreach() loop thinks incorrectly that categories array is empty because of non-english category names even if you have deleted them. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Fixed] Click "read more" the category links screw up | mlbier | General Help | 12 | 02-15-2007 12:32 PM |
| new category code - improvements? | cruci | Pligg Mods | 4 | 01-06-2007 12:35 PM |
| Category names with 's produce mysql error | ecow | Bug Report | 1 | 01-01-2007 07:59 PM |
| 8.2 Category names in Sidebar using UTF-8 | skara | Bug Report | 4 | 10-29-2006 12:41 AM |
| 7.1 Bug Report: Category names with space or underscore | Linlay | Bug Report | 1 | 04-30-2006 10:35 AM |




Linear Mode

