Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
November 23, 2008, 07:22:52 am
RSGallery2 Support Forums
Developers corner
Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
(Moderators:
Daniel Tulp
,
Chef Groovy
)
[FIXED] SVN 459 error found
« previous
next »
Topic Tools
Search this topic
Pages
1
2
Author
Topic: [FIXED] SVN 459 error found (Read 8281 times)
«
on:
November 29, 2007, 07:52:01 pm »
Ivan Takahashi
Newbie
Posts: 2
[FIXED] SVN 459 error found
I install SVN 459, Joomla 1.12, with the semantic template.
I have this error when i open a gallery:
Warning: Wrong parameter count for array_slice() in /home/didac3/public_html/ballestaperu/administrator/components/com_rsgallery2/includes/gallery.class.php on line 209
Warning: Invalid argument supplied for foreach() in /home/didac3/public_html/ballestaperu/components/com_rsgallery2/templates/semantic/html/thumbs_table.php on line 10
With macro micro template the component work fine.
«
Last Edit: December 05, 2007, 03:06:37 pm by john
»
Logged
Reply #1
«
on:
November 29, 2007, 08:53:12 pm »
Jim
Newbie
Posts: 26
Re: SVN 459 error found
I have the same problem and with my old template which was based on the semantic template It shows the thumbnails once I enter the gallery but I don't get the error. I do get all the thumbnails though even though I told it to only show 10 thumbnails on each page.
There is definitely something still wrong with the way it is handling the counts see
http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,8401.new/topicseen,topicseen
Thanks
Logged
Reply #2
«
on:
November 30, 2007, 04:45:33 am »
john
Dev Team
Sr. Member
Posts: 464
Re: SVN 459 error found
Hello Jim
there was a change in the way the thumbs are enumerated in the template. Please have a look at the current semantic template (html/thumbs_float.php) and update your template according.
john
Logged
Reply #3
«
on:
November 30, 2007, 05:57:53 am »
Jim
Newbie
Posts: 26
Re: SVN 459 error found
I will try the new nightly build but the template that came with Wednesday nights build is the one that gave me the errors not my template. My template would atleast show the gallery but the number of thumbnails just wasn't correct.
Logged
Reply #4
«
on:
November 30, 2007, 07:42:59 am »
john
Dev Team
Sr. Member
Posts: 464
Re: SVN 459 error found
Hello Jim.
I just wanted to point out what you have to change in your template so it will limit the amount of thumbs it displays.
so long
john
Logged
Reply #5
«
on:
November 30, 2007, 04:36:35 pm »
Etienne
Newbie
Posts: 20
Re: SVN 459 error found
Hi
I have exactly the same errors as mentioned in the original post:
Quote
I have this error when i open a gallery:
Warning: Wrong parameter count for array_slice() in /home/didac3/public_html/ballestaperu/administrator/components/com_rsgallery2/includes/gallery.class.php on line 209
Warning: Invalid argument supplied for foreach() in /home/didac3/public_html/ballestaperu/components/com_rsgallery2/templates/semantic/html/thumbs_table.php on line 10
Logged
Reply #6
«
on:
November 30, 2007, 05:15:36 pm »
john
Dev Team
Sr. Member
Posts: 464
Re: SVN 459 error found
Hello ..
Can anyone provide a site where that error is visible. I can not reproduce it locally.
How many thumbs should there be displayed?
thanks
john
Logged
Reply #7
«
on:
November 30, 2007, 10:33:31 pm »
Jim
Newbie
Posts: 26
Re: SVN 459 error found
Here is a link to my site with the lastest nightly build and the template that comes with the build. I now get an error in the gallery view also but click the easter egg hunt gallery and you will see the error from this post also. To show the gallery showing two many thumbnails I will have to go back to my template since with the semantic template that comes with the nightly build I get this error.
http://www.harvestpointechristianchurch.com/index.php?option=com_rsgallery2&Itemid=47
Thanks,
Logged
Reply #8
«
on:
December 01, 2007, 03:45:14 am »
Etienne
Newbie
Posts: 20
Re: SVN 459 error found
Ok, I looked at Jim's site, the error messages are identical.
I'm on J 1.0.13 with php 4.4.4 and MySql 5.0.27. Btw, these errors persist even with build 462 and in IE, FF and Opera.
I've played around with different configs etc with no luck.
I have discovered the following, hope it may be a pointer.
Scenario 1 - Front page - Display random - No
a. Click the main menu item pointing to the gallery component and it displays correctly.
b. I see my gallery with its random thumbnail and the sub-galleries list.
c. If I click on any of the sub-galleries in the list I get the error.
Scenario 2 - Front page - Display random - No
a. As above
b. As above
c. If I click on the random thumbnail in the main gallery it displays a page with all the sub-galleries and their thumbnails, thus correct.
d. If I click on any of the sub-galleries I get the error.
Scenario 3 - Front page - Display random - Yes
a. As above
b. As above with random images, correct.
c. As per Scenario 2c.
d. Clicks as per Scenario 1c and Scenario 2d still leads to errors.
e. Click on one of the random images displayed and sub-gallery is entered and image and page displays correctly.
f. From there, using the navigation <start> <prev> 1,2... <next> <last> the only navigation that is possible is <start> or 1, ie the first image. Any other navigation button leads to an error, this being a page that displays only the navigation and the description etc tabs. Nothing else, not even the joomla template. In FF I get the warning/error :"A script on this page may be busy etc"
Hope that this may help.
Logged
Reply #9
«
on:
December 01, 2007, 12:48:46 pm »
john
Dev Team
Sr. Member
Posts: 464
Re: SVN 459 error found
Hello
Quote
I'm on J 1.0.13 with
php 4.4.4
and MySql 5.0.27. Btw, these errors persist even with build 462 and in IE, FF and Opera.
That made the difference.
array_slice is only supported after PHP5.0.2 the way it is used in RSG.
I have added support for PHP4 in SVN 463
thanks for the help.
john
Logged
Reply #10
«
on:
December 01, 2007, 01:45:51 pm »
Etienne
Newbie
Posts: 20
Re: SVN 459 error found
Hi John
Thanks for the fix for php4 as that is what my host is providing. Locally I switched to php 5.2 and I'm happy to report that it now works correctly, well almost. The navigation issue still remains.
I'm using the semantic template.
When I enter the gallery the url for the image I'm viewing look like this (for the purpose of this exercise I'm viewing the 3rd image in a gallery of 6 images) :
http://localhost/et/index.php?option=com_rsgallery2&page=inline&id=90
The url for the only other image that I can navigate to, the 1st image in the gallery, looks like this :
http://localhost/et/index.php?option=com_rsgallery2&page=inline&gid=9&limit=1
The url's for all other images is in this format, which leads to the error mentioned in my previous post :
http://localhost/et/index.php?option=com_rsgallery2&page=inline&gid=9&limit=1&limitstart=1
Quote
f. From there, using the navigation <start> <prev> 1,2... <next> <last> the only navigation that is possible is <start> or 1, ie the first image. Any other navigation button leads to an error, this being a page that displays only the navigation and the description etc tabs. Nothing else, not even the joomla template. In FF I get the warning/error :"A script on this page may be busy etc"
Logged
Reply #11
«
on:
December 03, 2007, 04:57:51 am »
john
Dev Team
Sr. Member
Posts: 464
Re: [PENDING] SVN 459 error found
Hi Etienne
check out SVN465
john
Logged
Reply #12
«
on:
December 03, 2007, 02:05:14 pm »
Jim
Newbie
Posts: 26
Re: [PENDING] SVN 459 error found
Is 465 out yet? I only saw 464 in the nightly builds.
Logged
Reply #13
«
on:
December 03, 2007, 04:49:13 pm »
Etienne
Newbie
Posts: 20
Re: [PENDING] SVN 459 error found
What Jim said.
Logged
Reply #14
«
on:
December 03, 2007, 05:06:21 pm »
john
Dev Team
Sr. Member
Posts: 464
Re: [PENDING] SVN 459 error found
Hello all
svn465 will be available after tonight (nightly build).
But i guess you better wait till tomorrow because there was an other bug being solved in svn472 available tomorrow night ... sorry
Have fun
john
«
Last Edit: December 04, 2007, 03:34:27 am by john
»
Logged
Pages
1
2
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1 RC3
|
SMF © 2001-2006, Lewis Media
Pn-Pn Theme by koni.
Loading...