1 Replies - 564 Views - Last Post: 26 April 2012 - 11:54 PM Rate Topic: -----

#1 menukadevinda  Icon User is offline

  • D.I.C Regular

Reputation: -7
  • View blog
  • Posts: 470
  • Joined: 14-April 11

show error on a file name that is not existing in the codeinigter fram

Posted 19 February 2012 - 09:00 PM

Hi all,

I use codeiniter framework. I developed a site and it works pretty well. but I found when I google the site, it shows a error cach copy of the site. but the site is working properly

it shows a error like this

Quote

A PHP Error was encountered

Severity: Warning

Message: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer

Filename: core/MY_Lang.php

Line Number: 155


another big problem is core/MY_Lang.php is not existing in the codeingter framework , I use the latest version.


how to fix this?

thx in advance,
menukadevinda

Is This A Good Question/Topic? 0
  • +

Replies To: show error on a file name that is not existing in the codeinigter fram

#2 menukadevinda  Icon User is offline

  • D.I.C Regular

Reputation: -7
  • View blog
  • Posts: 470
  • Joined: 14-April 11

Re: show error on a file name that is not existing in the codeinigter fram

Posted 26 April 2012 - 11:54 PM

HI all,

actually, when I could find a file in core/MY_Lang.php. the reason to not to find was, I looked in to codiniter core folder. It was in the root directory. And I fixed the issues, I change the value to string type then It worked. That's a codiniter frame work issue. we had to fix that manually.


cheers..
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1