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-2011, 12:17 AM
Ruinily Ruinily is offline
Member
 
Join Date: Mar 2011
Location: England
Posts: 185
Gender: Female
Credits: 22,846
Ruinily is on a distinguished road
Default Database address problem?

Please can someone help? I cant figure out how whats going on and I really hope it's something that can be fixed. :( Everything that needs code from the database seems to add 'home/ruinily/public_html/' inside the urls, which is of course causing problems. For pets codes I get,

(Took the / out of the end tags so it would show up. They are there otherwise)

[url=http://www.felkyocreatures.exofire.net/home/ruinily/public_html/levelup.php?id=1][img]http://www.felkyocreatures.exofire.net/home/ruinily/public_html/siggy.php?id=1[img][url]


And without those added bits it works fine.
[url=http://www.felkyocreatures.exofire.net/levelup.php?id=1][img]http://www.felkyocreatures.exofire.net/siggy.php?id=1[img][url]


And its the same with created pages, it says they appear at,

(Took the http://ww off the front since it kept wrapping url tags around it and hiding the middle of the address. )
w.felkyocreatures.exofire.net/home/ruinily/public_html/pages.php?page=pageurl
http://www.felkyocreatures.exofire.n...p?page=pageurl

but it doesnt work until after I get rid of the added bit again. (Ignore general wonky layout, its still being worked on)
w.felkyocreatures.exofire.net/pages.php?page=portal
http://www.felkyocreatures.exofire.n...hp?page=portal

So if there any way of changing the default text on these codes? I can give screenshots and any details you want, I just want my site to work smoothly.
Reply With Quote
  #2  
Old 04-02-2011, 01:56 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,570
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

That's very strange. I'm not actually sure what's wrong. *Scratches head* have you tried to google your problem?
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #3  
Old 04-02-2011, 05:15 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,987
fadillzzz is an unknown quantity at this point
Default

Check your config.php file in the inc folder
Make sure the value of $scriptpath is '/' or leave it empty
Reply With Quote
  #4  
Old 04-02-2011, 06:36 PM
Ruinily Ruinily is offline
Member
 
Join Date: Mar 2011
Location: England
Posts: 185
Gender: Female
Credits: 22,846
Ruinily is on a distinguished road
Default

Oh, thankyou fadillzzz it works now! Though theres still one little kink which I hoped would be sorted out with the pathways, (I think this is all though) the images I upload dont seem to work. :( I've been using my pictures from photobucket, though I'll soon run out of room on that if I have to upload them all onto there. >.< And it means I cant edit the pet images once they've been used in a pet. Anyway heres the picture link, it should be that brown feather again, but it goes to an error page when clicked.


http://www.felkyocreatures.exofire.n...01deff19d6.gif
(Taken away the http://ww again.)
w.felkyocreatures.exofire.net/picuploads/gif/6fcfa1b3c65fd878a18ecb01deff19d6.gif
Reply With Quote
  #5  
Old 04-02-2011, 11:15 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,987
fadillzzz is an unknown quantity at this point
Default

This usually has something to do with .htaccess
Try renaming the .htaccess file in the picuploads/gif folder and see if the error still exists...
Reply With Quote
  #6  
Old 04-03-2011, 10:45 PM
Ruinily Ruinily is offline
Member
 
Join Date: Mar 2011
Location: England
Posts: 185
Gender: Female
Credits: 22,846
Ruinily is on a distinguished road
Default

Er, I dont have a .htaccess file, all I have is an index file and a file with that name from the gif, 6fcfa1b3c65fd878a18ecb01deff19d6.gif . I have the .htaccess in the original file I downloaded, shall I upload it into my gif folder and rename it to something? >.>
Reply With Quote
  #7  
Old 04-03-2011, 11:51 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,987
fadillzzz is an unknown quantity at this point
Default

No, I think there should be a .htaccess file in the /picuploads/gif folder...
It's a hidden file
Reply With Quote
  #8  
Old 04-08-2011, 03:22 PM
Ruinily Ruinily is offline
Member
 
Join Date: Mar 2011
Location: England
Posts: 185
Gender: Female
Credits: 22,846
Ruinily is on a distinguished road
Default

Okay thankfully that did work, I've been poking around to find more problem >.<' I'm found the promo codes also add something into the url that stops them working. I took the http:/ off to show them here.

Working url:
/felkyocreatures.exofire.net/adopt.php?id=10&promocode=Ulfrikwolfrik

Url that is linked from a page made on the website (not from scratch):
/felkyocreatures.exofire.net/adopt.php?id=10&amp;promocode=Ulfrikwolfrik

It adds a amp; in, I tried to find it but couldnt. :(

And how do you get rid of the little white writing that says, 'A total of queries were used in this page. They were:' Also why is it even there? :o
Reply With Quote
  #9  
Old 04-08-2011, 05:53 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,987
fadillzzz is an unknown quantity at this point
Default

Open your functions.php in the inc folder and find this on line 849
PHP Code:
    $template .= "<div style='position: fixed; bottom: 0; left: 0; color: white; font-size: 10px; width: 380px; '>A total of {$GLOBALS['numberofqueries']} queries were used in this page. They were: {$GLOBALS['queries']}</div>"
And comment out that line, so it will become like this
PHP Code:
//     $template .= "<div style='position: fixed; bottom: 0; left: 0; color: white; font-size: 10px; width: 380px; '>A total of {$GLOBALS['numberofqueries']} queries were used in this page. They were: {$GLOBALS['queries']}</div>"; 
For the URL, just do the same thing on line 85
PHP Code:
    $data htmlentities($data); 
change it to
PHP Code:
//    $data = htmlentities($data); 

Last edited by fadillzzz; 04-08-2011 at 05:56 PM.
Reply With Quote
  #10  
Old 04-08-2011, 09:25 PM
Ruinily Ruinily is offline
Member
 
Join Date: Mar 2011
Location: England
Posts: 185
Gender: Female
Credits: 22,846
Ruinily is on a distinguished road
Default

Thanks for helping so much fadillzzz, though the url hasnt changed its still adding in the amp; bit. :(

Also is there anyway to get the url of the admin star off the thier profile page title? Though thats the least of my concerns it'd be good if I could.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database SilverDragonTears Questions and Supports 1 11-01-2012 10:33 AM
Can Someone Help me about add in database? reza01 Questions and Supports 1 06-22-2009 11:54 AM
banning and available email address zhiichiro Suggestions and Feature Requests 4 04-06-2009 06:02 PM
Check for IP address Drakenheart26 Suggestions and Feature Requests 3 03-31-2009 05:09 PM
Database help Weretemplar Questions and Supports 20 01-01-2009 03:19 PM


All times are GMT -5. The time now is 01:34 PM.

Currently Active Users: 9606 (0 members and 9606 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