IP.Board 2.3: Changing the IPS Driver Error
Started by AndyF, Mar 11 2009 04:26 PM
4 replies to this topic
#1
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
Posted 11 March 2009 - 04:34 PM
Thanks AndyF and Michael.
#3
Posted 11 March 2009 - 05:08 PM
is there a way to view the error message without having to force an error?
~*~
~*~
Quote
95% of all installation errors are from not following the instructions correctly.
Click this link for information on common modification questions and errors
~*~
#4
Posted 11 March 2009 - 06:10 PM
RichardC, on Mar 11 2009, 05:08 PM, said:
is there a way to view the error message without having to force an error?
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
Posted 16 March 2009 - 12:42 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users





Contributor











