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.


An error occurred at:

Login / Search

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

Fan in training


http://na7kr.us/data/iframe.php?page=search&type=results&zone=site&utheme=NA7KR&content=ft857d&all_defaults=1&author=&days=-1&sort=relevance&direction=DESC&only_titles=0&only_search_meta=0&boolean_search=0&conjunctive_operator=AND

The full error details follow:

URL not constructed properly: development mode in use but keep_devtest was not specified. This indicates that links have been made without build_url (in PHP) or keep_stub (in Javascript). Whilst not fatal this time, failure to use these functions can cause problems when your site goes live. See the ocPortal codebook for more details. (version: 9.0.21, PHP version: 5.6.17-3, URL: /data/iframe.php?page=search&
type=results&zone=site&utheme=NA7KR&content=ft857d&all_defaults=1&author=&days=-1&sort=relevance&direction=DESC&only_titles=0&only_search_meta=0&boolean_search=0&conjunctive_operator=AND)[html]

An error has occurred

URL not constructed properly: development mode in use but keep_devtest was not specified. This indicates that links have been made without build_url (in PHP) or keep_stub (in Javascript). Whilst not fatal this time, failure to use these functions can cause problems when your site goes live. See the ocPortal codebook for more details. (version: 9.0.21, PHP version: 5.6.17-3, URL: /data/iframe.php?page=search&type=results&zone=site&utheme=NA7KR&content=ft857d&all_defaults=1&author=&days=-1&sort=relevance&direction=DESC&only_titles=0&only_search_meta=0&boolean_search=0&conjunctive_operator=AND)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/xxxx/sources/failure.php'
Line '855'
Function 'get_html_trace'
Args  
File '/xxxx/sources/global2.php'
Line '1,053'
Function '_fatal_exit'
Args ...
File '/xxxx/sources/global2.php'
Line '498'
Function 'fatal_exit'
Args ...
Function 'init__global2'
Args  
File '/xxxx/sources/global.php'
Line '315'
Function 'call_user_func'
Args

'init__global2'

File '/xxxx/sources/global.php'
Line '569'
Function 'require_code'
Args

'global2'

File '/xxxx/data/iframe.php'
Line '34'
Args

'/xxxx/sources/global.php'

Function 'require'
Back to the top
 
Posted
Rating:
#110983
Avatar

Hi,

As you're running from a git clone, it's in developer mode.

I'm not sure why you're seeing the error though, as it seems to be working okay for me, including on your site. I wonder if there's some specific route you get to the search results that does that.

Anyway, to force off dev-mode, add this to info.php:

Code

$SITE_INFO['dev_mode']='0';


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: