What's the mistake?

I want to post joomla using XAMPP but when i type localhost / joomla the error shown in the picture.

I don't know what's wrong but who can program in php help me.

I'll post the file that has the error.

https://drive.google.com/open?id=1Q25H1yYM3tCEXJCN...

Attachment image

5 Answers

Relevance
  • 1 month ago

    Thank you very much for your help, the problem has been solved.

    The problem was that I installed an older version of joomla.

    • Chris
      Lv 7
      1 month agoReport

      Which had a completely mangled  file in it on top.

    • Commenter avatarLogin to reply the answers
  • Lv 7
    1 month ago

    you must have missed a step.

    try starting over with this guide:

    https://www.dummies.com/web-design-development/joo...

    • Commenter avatarLogin to reply the answers
  • 1 month ago

    maybe you should check you have followed all the installation steps. this may be different for each joomla version. there are lots of example tutorials i have included just one of them below

    • Commenter avatarLogin to reply the answers
  • Chris
    Lv 7
    1 month ago

    That's a really old version of Joomla, from 2008 apparently. The error is caused by random SQL text that has been inserted near the start of the file. It should start with the comment block you can see further down.

    Re-download Joomla from the official page. I don't even want to know where you got that obsolete version from.

    • ...Show all comments
    • 1 month agoReport

      I say toot your own horn. Good for you for actually digging into the issue and finding a solution. Most of the people here only like throwing their initial reaction out.

    • Commenter avatarLogin to reply the answers
  • How do you think about the answers? You can sign in to vote the answer.
  • 1 month ago

    Hmmm, looks like a DB access error. What database are you using? Is it set up correctly? Have you got the credentials set up correctly in Joomla to access it?

    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.