![]() |
|
Zenpage 1.0.1 errors - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Zenpage 1.0.1 errors (/thread-4238.html) Pages:
1
2
|
Zenpage 1.0.1 errors - flu - 12-12-2008 Hi. Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 Zenpage 1.0.1 errors - flu - 12-12-2008 More : when I come back to the zenpage admin panel in the articles sections I get this : then when I click on "modify this article", the permalink isn't displayed then if I click on "see the article" I get an error : Zenphoto Error I use Zenphoto in a multilingual way, with url rewriting on. If you have any idea... Zenpage 1.0.1 errors - flu - 12-12-2008 Last : in the admin panel, I can't select any of my categories for my articles. My choice isn't stored. Zenpage 1.0.1 errors - acrylian - 13-12-2008 Thanks for reporting. Regarding the strict standards notice please try the Zenpage svn, there have been some corrections. I will try to find out what could cause the first two notices you reported (although I did not see them myself yet at all). Regarding the Zenphoto error with MySQL: I got that once very suddenly and was not able to reproduce since then. I also never encountered not being able to select categories neither on my local MAMP nor on my site. But I think there was an report before so there is probably something. Also the permalink display never dissapeared... I will try to find out though. Zenpage 1.0.1 errors - flu - 13-12-2008 Hi,
Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 Notice: unserialize() [function.unserialize]: Error at offset 5 of 112 bytes in /home/user/zenphoto/zp-core/functions-i18n.php on line 389 Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 Zenpage 1.0.1 errors - acrylian - 13-12-2008
I hope that explanation makes sense to you...
Zenpage 1.0.1 errors - flu - 13-12-2008 Hi.
Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 Notice: unserialize() [function.unserialize]: Error at offset 5 of 112 bytes in /home/user/zenphoto/zp-core/functions-i18n.php on line 389 Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 2.Fine, but if I don't fill the permalink field (which is the default way Zenpage works, isn't it ?) I can't get an URL for my article and clicking "see article" in the admin gives me an error :
Zenpage 1.0.1 errors - flu - 13-12-2008 More : Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 Notice: unserialize() [function.unserialize]: Error at offset 5 of 112 bytes in /home/user/zenphoto/zp-core/functions-i18n.php on line 389 Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 Zenpage 1.0.1 errors - sbillard - 13-12-2008 I have fixed the undefined variable error. The serialize error is complaining about something in one of the multi-lingual fields. Maybe it is sensitive to what is there. Could you provide us with the text of your article and categories? Zenpage 1.0.1 errors - acrylian - 14-12-2008 Just to add to sbillard's post. I will investigate if I can reproduce it in mutlilingual mode. The titlelink is of course not multilingual so that should not be affected by any error in that. The only thing I could think of is that somehow in multilingual mode the titlelink does not get any title to process. I will investigate that, too. [i]the page reloads with a blank fieldset, even if the article is stored in the db.[/i] Zenpage 1.0.1 errors - acrylian - 14-12-2008 An update: I can reproduce the titlelink issue in multilingual mode (btw it would be good that you had mentioned that from the beginning....). And the good news is I have an idea why. But I can't reproduce the category issue yet. Zenpage 1.0.1 errors - acrylian - 14-12-2008 Fix for the titlelink issue is in the Zenpage svn. It's not perfect yet, there are still some php notices but it seems to work for. Please give it a try. Zenpage 1.0.1 errors - flu - 15-12-2008 "I can reproduce the titlelink issue in multilingual mode (btw it would be good that you had mentioned that from the beginning....)" Zenpage 1.0.1 errors - acrylian - 15-12-2008 Ok, sorry, you did.. But you surely don't mind that I can't remember all threads and posts any time....:-) Zenpage 1.0.1 errors - flu - 15-12-2008 Of course, I do... but most of the time I prefer to be blamed for something I've really done. CATEGORIES
IT DOESN'T WORK : the category is stored in the db but will catch every news even the ones which don't belong to it. Besides, when you click on 'not multilingual category' on the public website, it is just a link to www.website.com/news/category/ which displays no news at all.
Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 BUT IT WORKS FINE ARTICLES IT DOESN'T WORK : the article is saved but no titlelink for the url
Notice: unserialize() [function.unserialize]: Error at offset 5 of 93 bytes in /home/user/zenphoto/zp-core/functions-i18n.php on line 389 Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 BUT IT WORKS FINE ARTICLES AND CATEGORIES Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 BUT EVERYTHING WORKS FINE
Notice: unserialize() [function.unserialize]: Error at offset 5 of 93 bytes in /home/user/zenphoto/zp-core/functions-i18n.php on line 389 Warning: array_shift() [function.array-shift]: The argument should be an array in /home/user/zenphoto/zp-core/functions-i18n.php on line 401 IT DOESN'T WORK : the category checkbox isn't check, the category titlelink links to www.website.com/news/category/ which displays no news at all.
Oh my god, this text must be an headache to read. Zenpage 1.0.1 errors - acrylian - 15-12-2008 Just to clarify I did not blame you for anything (and again here goes the the phenomen of missunderstanding because of written text I guess) and I appreciate every report. I of course want Zenpage to work. Anyway, that is a school book example of a report, even if it indeed causes headache...:-) But the headache is actually because I did not encounter any of the issues, especially after the titlelink fix I spend the half weekend on. The only issues I saw were the two referring to functions-l18n.php that you mentioned, too. I actually believe that sbillard fixed the unserialize error in the zenpage-admin-functions but maybe that is another one. I have the suspicion that some of your errors with the categories might be related to mixing mutlilingual ones and non multlingual ones since non multilingual titles are stored as pure text where multilingual ones are stored as serialized string. But actually the titlelink/catlink and the id are used for reference and not the title... I will try to do what you did and maybe I can reproduce anything.... I'll let you know. Zenpage 1.0.1 errors - sbillard - 15-12-2008 Ok, I have just reproduced the unserialize issue. Zenpage 1.0.1 errors - flu - 15-12-2008 Fine. Thank you for your time and for your answer. Zenpage 1.0.1 errors - flu - 15-12-2008 Woaw ! It must be christmas time ! Zenpage 1.0.1 errors - sbillard - 15-12-2008 Fixed in the SVN. However, I believe there are still issues. It seems possible to make multiple category entries for the same strings. Also, I am not sure how the multi-lilngual aspect is supposed to work. Right now it will show the saved message for your local language string. (Same as the string that is displayed in the category list.) This seemed better to me that to show the unserialized array of all the different translations. Acrylian will have to review what I have done. |