:
  • Color Scheme 1
  • Color Scheme 2
  • Color Scheme 3
  • Color Scheme 4
Color1:
Color2:
Color3:
Community
Community

Talk to the Community
or Ask a Question

Open template failed
Last Post 14 Dec 2012 06:57 PM by Leo Kallipolitis. 5 Replies.
    Printer Friendly
    •  
    •  
    •  
    •  
    •  
    Sort:
    PrevPrev NextNext
    You are not authorized to post a reply.
    Author Messages
    EliseUser is Offline
    New Member
    New Member
    Posts:3


    --
    13 Dec 2012 02:46 PM
      Hi,

      I have unzip the content and put in my local webserver and I have this error :

      ReferenceError: pageId is not defined

      Line 75

      Is there somethink to configure ?

      Elise

      PS : I have the same error with Events Template
      Leo KallipolitisUser is Offline
      New Member
      New Member
      Posts:7


      --
      13 Dec 2012 07:58 PM
        Hi Elise,

        Did you follow the installation guide? It's in the 'doc' folder.

        You should make the necessary configurations in the config.php file. 

        Let me know if you still have problems.

        Thanks,
        Leonidas
        EliseUser is Offline
        New Member
        New Member
        Posts:3


        --
        13 Dec 2012 08:39 PM
          Hi Leonidas,

          Yes I have followed the installation guide in the doc folder. First I don't change any values, then I put the default values, but I have the same result : the template stay on the loader.

          I try to add "var pageId = 0" in the file jqm.page.params.js because the var isn't initialize in firebug, the loader disappears but there are no think under the navBar "Near Me/ Show All / List".

          Elise
          Leo KallipolitisUser is Offline
          New Member
          New Member
          Posts:7


          --
          14 Dec 2012 01:12 PM
            Hi Elise,

            Can you check line 30 of the config.php?

            define("DATASET_URL", "" . BASE_DIR . "dataset.php"); 

            I guess that your webserver is running on port 80 so you should change the above line to:

            define("DATASET_URL", "" . BASE_DIR . "dataset.php"); 

            This is something that we will put in an extra setting in the following release
            EliseUser is Offline
            New Member
            New Member
            Posts:3


            --
            14 Dec 2012 03:13 PM
              Hi Leonidas,

              I have already changed the localhost. It seems the template don’t find declarations of some variables (pageId, map …).

              I have tested another template to compare. I have unzipped the parking template, I have corrected the value BASE_DIR in Config.php, because it missed “s”. I haven’t had the error “pageId is not defined”, but I have no data, no map, I have the error :

              TypeError: map is undefined

              Line 374

              Elise
              Leo KallipolitisUser is Offline
              New Member
              New Member
              Posts:7


              --
              14 Dec 2012 06:57 PM

                Do you mind sending me your config.php?

                I have already seen these errors that you describe and it was always some kind of mistyping in the config.php.

                Thanks,
                Leonidas

                You are not authorized to post a reply.


                About us
                Citadel Tweets
                Latest News

                Open Data Builds Smarter Cities: New Open Data Toolkit Fires Imagination of Government at London Workshop
                Friday, November 14, 2014
                Citadel on the Move, a 4M Euro EU-funded Smart City project[i], yester...
                Read more...

                Join Us at our Citadel London Workshop to Discover the Future of Open Data in Smart Cities
                Thursday, October 30, 2014
                Interested in Open Data? Want to learn more about the latest developme...
                Read more...

                Citadel Leads Lively Session at Smart City 2014 in Bologna
                Wednesday, October 29, 2014
                Citadel on the Move took Bologna by storm last week as more than 50 de...
                Read more...

                Technical Torture or ‘App-y Ever After: Can Open Data Really Build Smarter Cities? New Open Data Toolkit Fires Imagination of Local Government at Flagship European Event
                Monday, October 27, 2014
                Brussels, Belgium - Citadel on the Move, a 4M Euro EU-funded Smart Cit...
                Read more...

                Grand Paris Seine Ouest goes for Open Data!
                Tuesday, October 21, 2014
                On October 20, the Issy-les-Moulineaux town hall hosted a workshop ded...
                Read more...

                Grand Paris Seine Ouest se lance dans l'Open Data
                Tuesday, October 21, 2014
                La salle multimédia de l'Hôtel de Ville d'Issy-les-Moulin...
                Read more...

                Citadel Showcased in Kazakhstan for UN Event!
                Friday, October 17, 2014
                Earlier this month Geert Mareels, Citadel’s partner and the mana...
                Read more...

                Successful Summer for Citadel
                Wednesday, October 15, 2014
                It has been a successful summer for Citadel with over 65 governments a...
                Read more...

                Citadel Workshop Fires the Imagination at Open Days 2014
                Friday, October 10, 2014
                Citadel on the Move was in Brussels this week leading a workshop at th...
                Read more...

                Another innovative app from Issy
                Friday, September 26, 2014
                A mobile application has been developed using old postcards published ...
                Read more...
                Like us on facebook