Author Topic: Fatal Error: escapeValue() close() DB.class.php line 294 75  (Read 7298 times)

Marfio

  • Newbie
  • *
  • Posts: 1
    • View Profile
I'm using fengoffice 1.7.3.1 on my contracted server.
When I install it, and run it for the first time, sometimes appears this:

Fatal error: Call to a member function escapeValue() on a non-object in /usr/home/MY_URL/web/gestio/environment/library/database/DB.class.php on line 294

Fatal error: Call to a member function close() on a non-object in /usr/home/MY_URL/web/gestio/environment/library/database/DB.class.php on line 75

Other times everything is ok and when I save something or change the applications appears again.

When this occurs I can't do anything...

Can you give me the answer to solve it?

Thank you very much
 

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Fatal Error: escapeValue() close() DB.class.php line 294 75
« Reply #1 on: June 24, 2011, 01:57:14 pm »
This is as though as there is a problem with your database connection. You should check everything is all right with the connection by checking your hosting settings, plus I would also suggest checking your log.php file for futher details. That way you may know more information about the issue.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

tamalita

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • Enchanted Graphics
    • Email
Re: Fatal Error: escapeValue() close() DB.class.php line 294 75
« Reply #2 on: August 04, 2011, 09:08:29 pm »
I am receiving this same error. I upgraded from 1.7.3 to 1.7.5

The upgrade went 'perfect' with no errors, however, when i clicked the link to go back to Feng Office I get the error
top of page: Error (DBAdapterDnx)
Database adapter 'mysql' (class 'MysqlDBAdapter') was not found
.
.
.
Fatal error: Call to a member function close() on a non-object in /home/xxxx/public_html/xxxx/xxx/environment/library/database/DB.class.php on line 75

I looked in my log.php and see this:

Code: [Select]
Session "default" started at 2011-08-04T22:58:42+0000

#1 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.fengoffice.com/versions.xml:1: parser error : Space required after the Public Identifier in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#2 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#3 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:                                                  ^ in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#4 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.fengoffice.com/versions.xml:1: parser error : SystemLiteral &quot; or ' expected in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#5 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#6 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:                                                  ^ in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#7 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.fengoffice.com/versions.xml:1: parser error : SYSTEM or PUBLIC, the URI is missing in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#8 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#9 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:                                                  ^ in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#10 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.fengoffice.com/versions.xml:9: parser error : Opening and ending tag mismatch: hr line 7 and body in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#11 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: &lt;/body&gt;&lt;/html&gt; in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#12 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:        ^ in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#13 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.fengoffice.com/versions.xml:9: parser error : Opening and ending tag mismatch: body line 4 and html in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#14 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: &lt;/body&gt;&lt;/html&gt; in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#15 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:               ^ in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#16 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://www.fengoffice.com/versions.xml:10: parser error : Premature end of data in tag html line 2 in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#17 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:  in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

#18 ERROR: Error: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: ^ in '/home/xxxx/public_html/xxxx/xxxx/application/models/versons_feed/VersionsFeed.class.php' on line 114 (error code: 2)

Time since start: 0.440099000931 seconds

-------------------------------------------------------------------------------

Tamalita
Enchanted Graphics
Feng Office 1.7.3.1
Linux/PHP 5.2.14/MySQL 5.0.91

tamalita

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • Enchanted Graphics
    • Email
Re: Fatal Error: escapeValue() close() DB.class.php line 294 75
« Reply #3 on: August 04, 2011, 09:35:17 pm »
Never mind!

I deleted all of the old files off of the server and re-uploaded the new files and now all is well.

This seems to solve a lot of issues and I keep forgetting to do this, rather than simply  overwriting the files.
Tamalita
Enchanted Graphics
Feng Office 1.7.3.1
Linux/PHP 5.2.14/MySQL 5.0.91

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Fatal Error: escapeValue() close() DB.class.php line 294 75
« Reply #4 on: August 06, 2011, 12:06:32 am »
Once again, glad to know it is working Tammy!

Kind regards,
Francisco

Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
compare dosage cialis viagra
« Reply #5 on: July 29, 2022, 02:23:11 am »
If the pulses are indeed entangled, a measurement of the second pulse should allow the team to anticipate the outcome of the measurement of the third, with an uncertainty that is smaller than the fluctuations associated with the quantum vacuum fluctuations a temporary change in the amount of energy in a point in space that comes about due to Heisenberg s uncertainty principle how long does it take for tamoxifen to start working
« Last Edit: December 01, 2022, 08:42:10 pm by Baveskara »

Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
cialis and zoloft interactions
« Reply #6 on: July 29, 2022, 06:39:15 pm »
Medicamento Cialis Para Sirve buying cialis online forum Levitra Acquistare

Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
cialis 20 mg canadian pharmacy
« Reply #7 on: January 10, 2023, 10:49:08 am »
Read about its treatment options buy zithromax online research purposes only