TinyPortal

Development => Support => Servers & hosts => Topic started by: cactusgoo on December 13, 2008, 02:34:52 PM

Title: DB error and can not log in
Post by: cactusgoo on December 13, 2008, 02:34:52 PM
I am getting the following error and can not log in:

Fatal error: Call to undefined function: tportal_version() in /home/content/s/h/a/shangrilacoop/html/Sources/Load.php(1726) : eval()'d code on line 424

I suspect Godaddy made a change to their sever and asked them to look into it and they said they didn't change anything.


Title: Re: DB error and can not log in
Post by: G6Cad on December 13, 2008, 03:02:11 PM
Let me google that for you! (http://letmegooglethatforyou.com/?q=Call+to+undefined+function%3A+tportal_version())
Title: Re: DB error and can not log in
Post by: IchBin on December 13, 2008, 05:36:14 PM
Looks like you're using a TP theme on a regular SMF install (without TP). You should get the right version of the theme if you're not using TP.
Title: Re: DB error and can not log in
Post by: cactusgoo on December 14, 2008, 03:54:37 PM
TP and SMF were installed by TP paid support in July of 2007.  I have not made any changes to it.

Now I can't access the site.  Is it possible the host provider Godaddy has made some changes to the server?

I am willing to pay support to fix it.
Title: Re: DB error and can not log in
Post by: G6Cad on December 14, 2008, 04:39:14 PM
SQL Server gone away and if you dont have made any changes, added any mods or installed some script to your files, then i would say it's soemthing with the host yes.

Contact them and ask them to troubble shoot the error and see what they can find out.
Title: Re: DB error and can not log in
Post by: cactusgoo on December 14, 2008, 05:04:58 PM
I have contacted them twice and both times they say there is nothing they can do.

That is why I am willing to pay TP support to reload or move the site to another provider.
Title: Re: DB error and can not log in
Post by: G6Cad on December 14, 2008, 05:13:35 PM
Set everything back to defaults.
Default Core Theme, Default english language and download the repair_settings.php from SMF and execute the file from your browser after you uploaded it to your forum root.

And if that doesent help you, ask the host what they have changed, they must know whats been updated on the server, or look for another host if they cant help you. Im not so happy with how godaddy does with their clients, but i can say it's not the first time they do nothing for their clients with issues.
Title: Re: DB error and can not log in
Post by: IchBin on December 14, 2008, 05:38:40 PM
If you'd like you can PM me and I will take a look at your site. Will need FTP access, Admin account on the forum, and possibly access to your phpmyadmin or whatever it is you use to access your database stuff with.
Title: Re: DB error and can not log in
Post by: IchBin on December 14, 2008, 05:59:04 PM
Hmm.... Well, it looks like everything is working fine for me now. After looking at your site, I noticed you were a few versions behind on SMF. Because there have been security fixes and some other bugs fixed since 1.1.5, I've updated your SMF install to the latest 1.1.7. Hope you don't mind. :) TinyPortal mod seemed to not be installed properly. Deleted all the unused packages from your installed packages  page, uploaded TinyPortal again and installed. Looks like everything is working fine now. Let me know if you need anything else. That only took me about 10 minutes max to fix that. So don't worry about payment, unless I need to come back and do more work for you.
Title: Re: DB error and can not log in
Post by: cactusgoo on December 15, 2008, 08:10:30 AM
I appreciate the effort unfortunately I am still getting an error.  This one now says:

Database Error
Please try again. If you come back to this error screen, report the error to an administrator. 
Title: Re: DB error and can not log in
Post by: G6Cad on December 15, 2008, 08:26:05 AM
If you have PHPMyadim, logg in and do a db repair and see if it helps
Title: Re: DB error and can not log in
Post by: IchBin on December 15, 2008, 03:34:21 PM
Where are you getting this error? I'm not getting it at all when browsing your site. Any particular place that you're getting it? Or do you just get it everywhere?
Title: Re: DB error and can not log in
Post by: cactusgoo on December 15, 2008, 03:35:36 PM
When I go to the home page.  I can't log in.
Title: Re: DB error and can not log in
Post by: IchBin on December 15, 2008, 05:36:32 PM
Strange it wasn't showing for me earlier, but it is now.

It looks like godaddy has made a change to your user and/or database. I've put a script on your site to test the database connection. It fails every time saying your database user does not have access. I will PM you a link to this script so that you can show the Godaddy idiots that its not working.

Title: Re: DB error and can not log in
Post by: cactusgoo on December 15, 2008, 06:31:15 PM
 I've ased godaddy to restart or refresh the server, but so far they've been unresponsive.  Any additional "proof" I can get would be great.
Title: Re: DB error and can not log in
Post by: IchBin on December 15, 2008, 07:39:16 PM
The only Additional information I would add, is that the user/pass that you're using in your Settings.php file for your forum are not able to login to their phpMyAdmin server. To me, it is obvious that the username/password that they have given you are not working properly.