Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2016, 08:37 AM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,346
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Angry I don't have permission to adopt pets FROM MY SITE?

It just happenend when i just have added a mod.

Well...I had trying to adopt from my site,but it says "an error has occurred.
It appears that you do not have permission to adopt"

And i have seen the admin pannel and it says some thing like this too: "You do not have permission to access Admin Control Panel.
"

How we fix that? Sorry but MY site hates me? I don't know?

Edit: I have placed the unban thing,but i'm still banned...I tried again but there's a error. Message:
Parse error: syntax error, unexpected ']' in /home/enchante/public_html/functions/functions_users.php on line 125

Edit²: It gives me another message...Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/enchante/public_html/classes/class_database.php on line 57
Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

Last edited by LUC1G07CH1; 04-02-2016 at 12:32 PM.
Reply With Quote
  #2  
Old 04-02-2016, 09:43 AM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,346
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

Bump (i want to adopt pets again ¬¬)
Reply With Quote
  #3  
Old 04-02-2016, 11:55 AM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 15,340
pachoofoosh is on a distinguished road
Default

What do you mean by placing the unban thing? What does your functions/functions_users.php file look like, can you paste it here?

You should be able to fix your user privileges by opening up PHPMyAdmin (You can find the link on the main page your hosting shows you when you log in), click on the (your prefix)_users_status table, and then edit the row for your account, changing the "canlevel, canvm, canfriend, cantrade, canbreed, canpound, canshop" columns all to yes if they aren't already set to yes

If that doesn't work, click the (your prefix)_users table and change the row for your account, "usergroup" to 1 if it isn't that already
__________________
The calzones... betrayed me?
Reply With Quote
  #4  
Old 04-02-2016, 12:03 PM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,346
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

Bump! i think that my site needs to wait.
Reply With Quote
  #5  
Old 04-02-2016, 12:57 PM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,346
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

Edit: I just got it,thank you!

But my site display this message:


Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/enchante/public_html/classes/class_database.php on line 57
Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

What is wrong there?

Last edited by LUC1G07CH1; 04-02-2016 at 01:06 PM.
Reply With Quote
  #6  
Old 04-02-2016, 02:33 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 329,514
Hall of Famer is on a distinguished road
Default

It means that your database credentials are incorrect. I am sure I made it correct for you when I helped you install the site, did you change config.php? You are not supposed to edit it once the site is up and running.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 04-02-2016, 02:45 PM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,346
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

Does you haves a code? To replace all things on config (to see that works right).
Reply With Quote
  #8  
Old 04-02-2016, 04:12 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 329,514
Hall of Famer is on a distinguished road
Default

I restored it for you, also I removed the folder /install for you so you wont accidentally run the installer again. Please do not change anything in /inc/config.php in future, its something you should never touch even if you are modifying the script files of Mysidia Adoptables.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #9  
Old 04-02-2016, 04:21 PM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 150
Gender: Unknown/Other
Credits: 19,346
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

I also lost my admin rights,can you put them back?
Reply With Quote
  #10  
Old 04-02-2016, 04:45 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 329,514
Hall of Famer is on a distinguished road
Default

Well you have admin rights, if you log into account LUC1G07CH1 you should be able to access admin control panel.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:27 PM.

Currently Active Users: 514 (0 members and 514 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636