Author Topic: An unexpected error occured. Please try again later !!  (Read 8507 times)

0 Members and 1 Guest are viewing this topic.

Offline LaTiNoOo

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • VIP my Kingdom
An unexpected error occured. Please try again later !!
« on: December 14, 2008, 11:42:11 PM »
Hi there ...

it was working before 10 min !! but now it isn't ...!!??

what should i do !!

and this is my site : http://gallery.vip83.com


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: An unexpected error occured. Please try again later !!
« Reply #1 on: December 15, 2008, 12:06:42 AM »
In includes/db_mysql.php find:
Code: [Select]
      if (isset($user_info['user_level']) && $user_info['user_level'] == ADMIN){
Replace it with:
Code: [Select]
      if (1 || isset($user_info['user_level']) && $user_info['user_level'] == ADMIN){

This should give you more details on the error.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline LaTiNoOo

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • VIP my Kingdom
Re: An unexpected error occured. Please try again later !!
« Reply #2 on: December 15, 2008, 09:41:39 AM »
ok it said :

Code: [Select]
DB Error: Could not select database (vip83co_gallery).

but the database are there !! i dont what is the wrong !!!


Offline LaTiNoOo

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • VIP my Kingdom
Re: An unexpected error occured. Please try again later !!
« Reply #4 on: December 15, 2008, 11:57:49 AM »
hi,
     check this .. 
http://www.4homepages.de/forum/index.php?topic=9276.msg43803#msg43803

hi there ..

all the information are there !! and it doesn't work !!


Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: An unexpected error occured. Please try again later !!
« Reply #5 on: December 15, 2008, 02:46:24 PM »
LaTiNoOo,

is database on your MySQL server really there?
if yes,
are tables



inside of vip83co_gallery database?

does 4images_settings and 4images_users contains any records?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline LaTiNoOo

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • VIP my Kingdom
Re: An unexpected error occured. Please try again later !!
« Reply #6 on: December 15, 2008, 05:53:06 PM »
i solved by having the back up ...

but it was strange ...

thank you every body for helping


Code: [Select]
Nicky

can you tell us the options that we have it to solve this proplem .. for the future it will helping a lot of people ..
 

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: An unexpected error occured. Please try again later !!
« Reply #7 on: December 15, 2008, 06:05:45 PM »
LaTiNoOo,

what exactly did you done?
replaced all the files?

Quote
Nicky

can you tell us the options that we have it to solve this proplem .. for the future it will helping a lot of people ..
did it mean, that you changed some files before... or it is just stopped to work?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline LaTiNoOo

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • VIP my Kingdom
Re: An unexpected error occured. Please try again later !!
« Reply #8 on: December 15, 2008, 11:10:48 PM »
LaTiNoOo,

Quote
what exactly did you done?
replaced all the files?

It's done by the host !! they but the back up for the website it is back to work !!

Quote
did it mean, that you changed some files before... or it is just stopped to work?

No I did't do any think , but maybe i delete somthing from the database !! I don't really rememmber !

but i checked the config file and all the information are there !! and in the MySQL i think it's there also !!

but we well see in the future ...