Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

database error

Asked Modified Viewed 2,196 times
S
Silverboy
S
Silverboy 10
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
asked
Junior Member

please help me.I've tried a to make an earlier database backup but I've messed up reallly hard.I get this error when I want to acces my webpage:"Fatal error: require_once() [function.require]: Failed opening required 'themes//theme.php' (include_path='.;C:\php5\pear';) in E:\HostingData\Domains\djsmp3.com\wwwroot\subheader.php on line 14" please help :(
0 replies

7 posts

M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

your settings table seems to be empty or broken. did you also restore the DB data?
0 replies
S
Silverboy
S
Silverboy 10
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

i only wanted to restore a backup made just yesterday.and now when I acces my phpmyadmin and I try to import the database it gives me alot of errors

now i replaced line 14 in subheader.php with require_once THEME."BlueOcean/theme.php"; and this was the original require_once THEME."theme.php"; now it's a bit better but still It gives me errors like this "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3"

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
0 replies
K
Korcsii
K
Former Senior Developer (v7.02) and Hungarian Translator
  • Member, joined since
  • Contributed 132 posts on the community forums.
  • Started 8 threads in the forums
answered
Member

solved (msn)
upload setup.php, blank config.php, reinstall, backup again
now working...
0 replies
S
Saeba
S
Saeba 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Yeah tha solves anything :D, but what about the user that have already been registered? They'll be lost right?
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

I don't think so. The install program creates the tables and rows. If the tables and rows are already there MySQL sould leave them unchanged.
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

The setup script drops existing tables.
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Aha. I wasn't quite sure about that. Thanks Matonor!
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet