HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED] - 8.1.1 - Catalogue error

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#87295 (In Topic #17802)
Avatar

Community saint

When trying to 'edit' a catalogue entry I am faced with this unhelpful error message:
Programming error: Integers and/or floats should not be passed into templates (NAME): convert them to strings via integer_format/float_format/strval.

Advice, please.

 :'(


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#87296
Avatar

Community saint

Fletch said

Advice, please.

 :'(
In your catalogue, do you have a field called "NAME" and you have entered a number in it?

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#87297
Avatar

It won't be that. I think it'll offer a stack trace with the error, what is it?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#87298
Avatar

Community saint

temp1024 said

… do you have a field called "NAME" and you have entered a number in it?
No, and no.

Chris said

…  it'll offer a stack trace with the error, what is it?
Also no, and no.

I've added an attachment of a screencap from the offending Catalogue, arrowing what appears to be a display error; something I've not noticed before:



It may also be worth mentioning that I THINK that I have recently added a 'catalogues' hotfix that was rolled out recently, which has probably caused a bit of a screw-up. I will take a look at my recent 'edits' (hotfix downloads/uploads) to see if something I did has overwritten an original and is causing this issue …

 O_o




Update: Check of 'hotfixes' indicates NO 'catalogue' fixes were taken or uploaded.



Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#87301
Avatar

Could you open a bug report ticket with site access? I can't reproduce and would like to look directly on your site.

ocPortal.com - Contact us


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#87302
Avatar

Ah I still have access. Testing now :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#87303
Avatar

Community saint

I will.

But first, in my non-technical and pretty ham-fisted way I have actually managed to 'edit' the catalogue in question by inserting the edits and clicking 'Save'.

It appears that the error message only appears when attempting to 'Preview'.

Site access info coming up …


Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Important!
Posted
Rating:
#87305
Avatar

Automated fix message

Fletch said

When trying to 'edit' a catalogue entry I am faced with this unhelpful error message:
Programming error: Integers and/or floats should not be passed into templates (NAME): convert them to strings via integer_format/float_format/strval.

Advice, please.

 :'(
This issue has been filed on the tracker as issue #630, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
Posted
Rating:
#87307
Avatar

Community saint

thanks

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: