Welcome Guest, Not a member yet? Register   Sign In
firefox and opera
#1

[eluser]MunterMan[/eluser]
I am working my way through the tutorial at
http://ellislab.com/codeigniter /user-guide/tutorial/news_section.html

Opera and firefox are giving different results. Here is the source from the two pages. I included a print_r for debug purposes. I am using a pre existing database, other than that I have not changed the code from the tutorial. Any ideas what I am doing wrong?

firefox
Quote:<pre>Array
(
[output] => Array
(
[0] => Array
(
[customerNumber] => 103
[customerName] => Atelier graphique
[contactLastName] => Schmitt
[contactFirstName] => Carine
[phone] => 40.32.2555
[addressLine1] => 54, rue Royale
[addressLine2] =>
[city] => Nantes
[state] =>
[postalCode] => 44000
[country] => France
[salesRepEmployeeNumber] => 1370
[creditLimit] => 21000
)

)

[title] => this contractor
)
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;this contractor - Recital consulting&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
<h1>Recital Consulting</h1>

<h2>Atelier graphique</h2>Carine Schmitt<br />Nantes
<strong><br /><br /><br />&copy; 2013</strong>
&lt;/body&gt;
&lt;/html&gt;


==============================================================

and Opera

Quote:<pre>Array
(
[output] => Array
(
)

[title] => this contractor
)
<div solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message: Undefined offset: 0</p>
<p>Filename: controllers/contractors.php</p>
<p>Line Number: 28</p>

</div>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;this contractor - Recital consulting&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
<h1>Recital Consulting</h1>

<h2></h2> <br />
<strong><br /><br /><br />&copy; 2013</strong>
&lt;/body&gt;
&lt;/html&gt;
#2

[eluser]MunterMan[/eluser]
Now, after a couple of days, they are both working the same way. This leads me to believe that there was some caching of data that ctrl-F5 did not clear. Is this an opera or a Codeigniter problem? Because it is making debugging really difficult.
#3

[eluser]noideawhattotypehere[/eluser]
its shift+f5 in opera i think.
#4

[eluser]Otemu[/eluser]
Hi,

Google Chrome, Firefox, and Internet Explorer are the browsers most people use.

Check out browser stats, maybe Opera not even worth testing for:
http://gs.statcounter.com/

This will however be a browser issue, if ctrl+f5 or shift+f5 not working then try do it in the settings http://help.opera.com/Windows/12.10/en/d...ivate.html





Theme © iAndrew 2016 - Forum software by © MyBB