Jump to content


- - - - -

IP.Board 2.3: Changing the IPS Driver Error


  • Please log in to reply
4 replies to this topic

#1 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 11 March 2009 - 04:26 PM

This is the support topic for the tutorial Changing the IPS Driver Error.  Please post here if you have any questions or feedback.

#2 Tom

Tom

    Posting God

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 1,541 posts
  • IPB Version:v2.3.x

Posted 11 March 2009 - 04:34 PM

Thanks AndyF and Michael.

#3 RichardC

RichardC

    ^^ They think you are odd

  • IM Supporters
  • PipPipPipPipPipPipPipPip
  • 1,028 posts
  • Location:United Kingdom
  • Real Name:Richard
  • IPB Version:v2.3.x
Contributor

Posted 11 March 2009 - 05:08 PM

is there a way to view the error message without having to force an error?

#4 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 11 March 2009 - 06:10 PM

View PostRichardC, on Mar 11 2009, 05:08 PM, said:

is there a way to view the error message without having to force an error?
Yes, although its quite easy to force an error (if you did want to do that, I'd suggest simply changing the password in conf_global temporarily, which would cause the error to be generated)

If you wanted to just check what it looks like, here's a simple way (I suppose you could just use raw html but I think this may be slightly better)

Anyway, copy and paste your error code with php tags around it. I'm using the standard one here to show you...

<?php
//
// Lets test the error message formatting :)
//
			print "<html><head><title>IPS Driver Error</title>
					<style>P,BODY{ font-family:arial,sans-serif; font-size:11px; }</style></head><body>
					   <blockquote><h1>IPS Driver Error</h1><b>There appears to be an error with the database.</b><br>
					   You can try to refresh the page by clicking <a href=\"java script:window.location=window.location;\">here</a>
				  </body></html>";
?>

Copy and paste that code into a text file and rename it test.php (or something with a php extension) , upload it to a temporary directory outside your forum directory ideally (just /test_error possibly) and visit it in your web browser ;)

When happy with the formatting and layout etc, simply copy and paste that into the real file (remember not to copy and paste the php tags!), you want to start at print and finish with <html>";

Edited by AndyF, 11 March 2009 - 06:14 PM.

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6

#5 Amfidiusz

Amfidiusz

    Advanced Member

  • Members
  • PipPipPipPip
  • 72 posts
  • Location:Amsterdam
  • Real Name:Adrian
  • IPB Version:v3.0.x
Contributor

Posted 16 March 2009 - 12:42 PM

It has been already posted so many times...
http://www.invisionm...?s...ver error\




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users