Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6603531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:01:36+00:00 2026-05-25T19:01:36+00:00

I have a problem regarding the spoon-library (www.spoon-library.com). I have a folder with subfolders,

  • 0

I have a problem regarding the spoon-library (www.spoon-library.com). I have a folder with subfolders, each subfolder is a ‘reference’ from my dad his company. (although its translated to my native language). Each of the ‘reference’ subfolder contains images.

I am reading the names of al subfolders and the images that are in that specific folder and save it to an array. With the use of spoon-library i am nesting these in template variable in my tpl files. So basically I print the <h2></h2> with the project’s title (the subfolder name), and all his images (so that they can be viewed through lightbox).

On my localhost and my website (provider A) it works, but when i upload it to my dad his hosting (provider B) it doens’t work.

ex.

http://davyloose.be/electroloose/projecten.php -> it works.

http://electro-loose.be/projecten.php -> it doens’t work.

The code is identical.

Example of the array with the data that i get through the folders (note, i get the same data on both webspace):

Array ( 
[0] => Array ( 
    [title] => Apotheek Beerlandt 
    [images] => Array ( 
        [0] => Array ( [url] => beerlandt 2.JPG ) 
        [1] => Array ( [url] => beerlandt 3.JPG ) 
        [2] => Array ( [url] => beerlandt 1.JPG ) 
    ) 
)
)

This is entered in the following ‘html’ code (template file):

              {iteration:referenties}

                 <h2>{$referenties.title}</h2>
                 <div id="imageslide">
                    {iteration:referenties.images}
                        <a href="/images/referenties/{$referenties.title}/{$referenties.images.url}" rel="lightbox[{$referenties.title}]"><img src="/images/referenties/{$referenties.title}/thumbs/{$referenties.images.url}" /></a>
                    {/iteration:referenties.images}
                 </div>
           {/iteration:referenties}

Note: references in my native language is ‘referenties’.

It seems that on my dad his webhosting a ‘.’ changed to ‘->’, although i’m not really sure (as in ‘I can’t believe that).

The php version on my localhost and my webhosting are PHP5.3.5, the version on my dad his hosting is 5.1.2.

I hope you guys can help me out on this one :).

PS: I know i can fix this with the use of an sql database. And i’m going to do that in the near future, but for now i just want to know why this error is occurring.

Thanks in advance!

Edit: I just enabled the display_errors in my php.ini and now i see the following error ‘Notice: Undefined variable: count in /var/www/html/test/spoon/template/compiler.php on line 913’ (and also on some other lines). Still, it’s a mystery why it works on my localhost and not on my dad his host.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:01:36+00:00Added an answer on May 25, 2026 at 7:01 pm

    I’m the author of Spoon Library. I believe the issue lies with the differences in the PHP versions. The $count parameter that the notices are talking about were added in PHP5.1, but for some reason they don’t seem to work exactly as expected in the PHP version on your dad’s host.

    I’d recommend to try and get the hosting to use at least PHP5.2, because there are another few issues that might occur within other spoon packages because of this.

    If you need any more help you can always find me on twitter(@spoonlibrary) or e-mail me (davy@spoon-library.com)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem regarding getting the path of a user control. The scenario
I have a problem regarding StartUp Url in WPF. I have a LoginView.xaml and
I have a problem regarding the datediff MYSQL function, I can use it and
I have a question regarding a problem with L2S, Autogenerated DataContext and the use
I actually have two questions regarding the same problem but I think it is
My problem involves checking if I have a valid database connection before reading from
I have a problem with IE7 regarding an ajax call that is made by
I have a problem regarding flash, actionscript3 and movieclips. I have 2 videos(inserted as
I have a problem regarding fetching emails of friends when a person has signed
I have a problem regarding running multiple threads executing a pipeline in Java. Say

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.