Previous Thread
Next Thread
Print Thread
Hop To
#264698 03/05/2021 12:36 PM
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
I have a problem with the forum that I have been maintaining for 1 week. Since an hour I get the following message when I want to log in to the admin section: Fatal error: Cannot redeclare class Admin in /home/solexforum/public_html/libs/admin.inc.php on line 54

Is there anyone who can help me fix this problem?

Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,063
Likes: 69
Where is the forum located? What version are you running? Do you have any modifications to the base code? Have there been any system upgrades lately (namely to PHP)?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
The forum is Powered by UBB.threads ™ PHP Forum Software 7.7.5 and PHP: 5.6.40. I have not done any system updates

Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,063
Likes: 69
Had it been previously working without issue? Have any changes been made to the UBB.threads files (modifications)? What's the URL to the forum so we can see if there are problems with the front end?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
The forum has always worked fine until an hour ago. I changed the language last. That can't be the problem, can it?

The link to the forum is : https://solexforum.nl

Thanks for your help and sorry for my Englisch

Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
I have never seen this problem before.
Maybe it is your cookies.

Goto your name on the top right.
Select it.
Then select cookies.
Select the Verwijder cookies button.

Login again and try


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,063
Likes: 69
Code declarations don't move in PHP scripts, if it worked previously and isn't now that'd mean that somehow the files have been modified; could you verify that all of the files in your /admin and /libs files are the same as the .zip file downloaded from here (when uploading files you will want to take care to never upload anything from the /cache_builders/custom or /includes folders, or the /styles/wrapper.php file).

Line #54 in /libs/admin.inc.php is the code declaration for the class "admin" which powers the control panel.

You may have to seek support from the support desk in order to diagnose server issues.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
If I removed the cookies, the problem remains the same.

Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
The problem is I don't have an account so I can't download those files. I have bought this forum together with a number of people and we have not received any further login details

Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads is a licensed product, it is not freeware. These are User to User forums, you'll need to contact the support desk to either purchase a license or obtain your login details. They can also help you with server related issues.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
When you purchased the site the original owner would be the person that has access to the new files.
He can not transfer the access to you.

Do you have a backup before today of the files?
I would try them but make a new backup first.

You want to make sure the backup is the current version.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
So the original owner can not tranfer the access to me, but stays at him? I want to make a back up this weekend, but nows to late.

Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,063
Likes: 69
The original owner will need to provide you with all license details pertaining to the site; there's nothing you can do in regards to upgrades or support without access to the license... This should have been part of any site sale.

I believe the support desk (run by the script vendor) will be able to change the owner of the license from his account to yours; but again this forum is for user to user support.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
For now maybe you can contact the old owner and get the current install zip file for the site.
But sooner or later you will need to resolve this somehow with the vendor.
Currently a new license cost $139 US dollars.
Which gives you access to any new updates for a year.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
Thanks for all you help and information. The old Owner has got his money and now he won't help us any more...

Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
Have you tried contacting your host for a site backup
They make their own backups.
Some will restore a folder or two.
You just need to make sure they do not restore a backup prior to when the old owner upgraded to UBB 7.7.5.
Just the files not the database is what you want.
Then only items such as language changes, html includes,some various setting changes will be lost. But the posts will be current as long as they do not reload the database from a backup.

So be careful when you ask the host for this.

Last edited by Ruben; 03/05/2021 5:47 PM. Reason: Added Comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
the problem is solved. I couldn't reach the control panel. but when i chose 'edit user' i got into the control panel. There I restored the last settings I had made. now the control panel can be reached again. There is some kind of bug in the forum language selection?

Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
What exactly did you restore?
A file , text , folder?
Most of it is still dutch.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,063
Likes: 69
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,063
Likes: 69
We do not supply any language files other than English; it's possible that you have corrupt entries in your language file that could have caused some problems... However this should not cause an issue with re-declaring a class...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
That is why I asked him what he actually did Giz.
I can't really see what could have happened other than some of the special language keys have other variables embedded and may have been displayed incorrectly..
I still stand by bad cookie.
Unless he edited something outside of the cp.
It appears that mostly what was restored was the generic language keys.

Last edited by Ruben; 03/07/2021 1:55 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2021
Posts: 9
A
Stranger
OP Offline
Stranger
A
Joined: Mar 2021
Posts: 9
I changed default by display --> languages to Dutch.

I have 2 accounts on the forum. My own name and admin. At admin the language was in English, at my own profiel the languages was dutch. Borh rhe accounts have admin rights

Joined: Dec 2003
Posts: 6,353
Likes: 51
Online Yawn
Joined: Dec 2003
Posts: 6,353
Likes: 51
Then one of your languages is probably still corrupted.
Even though you do not display it as a option to select now


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
1 member likes this: Antoine20

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
7.7.5 become member issue
by Ruben - 04/15/2021 10:06 AM
Gobal announcement replies.
by Ruben - 04/09/2021 1:46 PM
Strange parse error in faq.php
by Baldeagle - 04/06/2021 1:12 AM
Upgrading to 7.7.5: Error:
by BB - 04/02/2021 10:48 AM
Does UBB 7.7.5 support webp images
by Ruben - 03/27/2021 12:00 PM
Who's Online Now
3 members (auelboard, Ruben, 1 invisible), 44 guests, and 70 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5