TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 373
  • Total: 374
  • @rjen

Database Error

Started by richie, September 22, 2009, 11:08:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JPDeni

Okay. I see it. I think. :)

Look in TPSubs.php. Start with line 108 and go up until you come to a line that starts with the word global. Look in that line and see if it includes $tp_prefix. If it doesn't, add it, being sure to add a comma so that all the items there are in a list. (Rather like regular grammar.) Be sure the line ends with a semi-colon -- ;

If you come to a line that starts with function before you find one that starts with global, you'll need to add a line --


global $tp_prefix;


I don't know that this will fix everything, but it should take care of the "Table 'd60626144.modules' doesn't exist" problem.

richie


JPDeni

#12
What did you do?


Edited to add:
I'll tell you what. Attach the files that you have edited to a post. Please do not zip them. Just attach the php files. I'll take a look at them and see if I can figure out what's going on.

richie

What you told me to do, I used the search in Expression and found some that did have the "If you come to a line that starts with function before you find one that starts with global, you'll need to add a line --"

JPDeni

Attach your php files so I can take a look at them.

richie


JPDeni


richie

#17
Here you go.

JPDeni

As I wrote before:

QuoteI'll tell you what. Attach the files that you have edited to a post. Please do not zip them. Just attach the php files. I'll take a look at them and see if I can figure out what's going on.

It's too much work for me to download them and unzip them. Please attach the php files.

richie


This website is proudly hosted on Crocweb Cloud Website Hosting.