Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8666651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:46:58+00:00 2026-06-12T17:46:58+00:00

UPDATE Suddenly – without changing anything – it works again ON SOME PAGES, on

  • 0

UPDATE Suddenly – without changing anything – it works again ON SOME PAGES, on others it doesn’t even show the result of my function function_exists(‘decod’), any ideas why?

I get this error:

Fatal error: Call to undefined function decod() in database.php on line 10

It worked fine before, here’s database.php:

//Decode base64
function decod($string){ 
  $string = base64_decode($string); 
  return ($string); 
} 

//Data double-coded with base64, just to prevent people reading
$host = "localhost";
$user = decod(DOUBLE_ENCRYPTED_USERNAME);
$pass = decod(DOUBLE_ENCRYPTED_PASSWORD);
$db = decod(DOUBLE_ENCRYPTED_DATABASE);

//Connect or print error
$con = mysql_connect($host, decod($user), decod($pass));
if (!$con)
{
    die('Could not connect: ' . mysql_error());
}
//Select database
mysql_select_db(decod($db), $con);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:46:59+00:00Added an answer on June 12, 2026 at 5:46 pm

    Human error – turns out my website was pointing at the wrong database.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just lately update my model with attr_accessible fields and suddenly some tests would
One of our ASP.NET WebForms 3.5 pages just suddenly decided not to render the
My heroku suddenly stopped working. I got this message over and over again when
I'm rewriting an old program to do some new stuff, and suddenly I get
This is so frustrating. I did no update of java nor eclipse and suddenly
UPDATE It seems to have magically corrected itself because now it works, but I
After running bundle update I have suddenly found that my cucumber tests are failing
UPDATE: I couldn't tell you what changed to save my life, but suddenly it's
UPDATE: The plot thickens. I changed my channel name and it is suddenly working
UPDATE: Figured out some stuff and changed code. When I add my NSDictionary to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.