Database and PHP connecting issue

Username (e.g. epiz_XXX) or Website URL

epiz_27840026

(please specify the website or account you are asking about)

Error Message

PHP doesn’t support Array and string offset access syntax with curly braces. It has been deprecated.

image

(please share the FULL error message you see)

Other Information

Basically I want to link my database to php script but it gives me an error cause in “epiz_27840026_XXX” the character underscore “" is creating issues. Can someone help me. Is it possible to fix? If I create a database without underscore "” it gives me this issue

(other information and details relevant to your question)

That’s a deprecation warning. It doesn’t mean that something is broken, but it does say that the software should be updated because it may not work with newer PHP version anymore. A well written application doesn’t crash on them but just logs them and move on.

I’m pretty sure (or at least I hope) that’s not because of the underscore. The most common reason for this error are described here:

I hope your software doesn’t break on an underscore it a database name. Every hosting platform I know creates database names like username_databasename. If your software doesn’t support it, I doubt you’ll be able to find a hosting service for it.

6 Likes

Oh ok that’s most probably it the software has lots of issues even when hosting it locally it was broken so I thought it was cause I was running a local server so I guess the script is well written. Ah Thank you so much @Admin .

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.