Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 12-21-2004, 12:20 AM   #1 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


Trash php mysql

Would anyone have a clue why, when trying to access a file in a mysql db through a browser window, the page won't come up? (FC2 - php/mysql) The home page does pull some of the info out of the db and the images are in a directory; when clicking on the image the page is to go to that particular products' info but the screen flashes and remains on the home page.

I've found that for some reason I can't restart mysqld through a terminal command line but when I go into the services panel mysqld is actually alive. I can access information in the db via terminal command line but that's about it as well.

Last edited by shylock; 12-21-2004 at 12:35 AM. Reason: forgot a word
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 12-21-2004, 05:30 PM   #2 (permalink)
Senior Member
 
gotissues68's Avatar
 
Join Date: Sep 2002
Location: Vancouver Washington, Mountain View CA and Atlanta GA you pick the week!
Posts: 716
OS: Linux/FreeBSD


Send a message via AIM to gotissues68 Send a message via Yahoo to gotissues68
Sounds like more of an issue with the HTML built to go to the product page then php or mysql themselves. Do you have a link and I'll take a look :)
__________________
gotissues68 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-24-2004, 01:53 AM   #3 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


link

I sent an email with the ip address to your techsupport account
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-24-2004, 02:33 AM   #4 (permalink)
Senior Member
 
gotissues68's Avatar
 
Join Date: Sep 2002
Location: Vancouver Washington, Mountain View CA and Atlanta GA you pick the week!
Posts: 716
OS: Linux/FreeBSD


Send a message via AIM to gotissues68 Send a message via Yahoo to gotissues68
the link didn't work =(


*ninja edit* Works ok now, didn't work the other day when I tried from work.. looking now. Can you PM me like exact links that aren't working?
__________________

Last edited by gotissues68; 12-24-2004 at 02:40 AM.
gotissues68 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-24-2004, 09:48 AM   #5 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


ip

Yeah, sorry about that. I switch often between FC2 and XP because of different things that I need. I'll leave FC2 on all day today. I haven't blocked anyone from the outside for http and I do have a semblance of the project running in XP using Apache/MySQL so it should have worked. Nonetheless, sorry about the mixup and thanks for your attempt.

I've sent an email to you regarding the product details page. Thanks for your time and effort. I'm sure you know how much it is appreciated.
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-26-2004, 05:57 AM   #6 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


register_globals

Ok, with the help of "gotissues68", I was able to figure out why my pages weren't showing up as they should; and it goes a little something like this (hit it):

In the newer version of the php.ini file, the register_globals status is set to "Off" for a variety of security issues - read up on it by viewing your php.ini file or on the 'net. I set the status to "On" and I am now able to see everything that I should. Apparently GLOBAL variables aren't really like any more.

Big ups to gotissues68
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-26-2004, 09:46 AM   #7 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

If you wrote that PHP, then I would strongly suggest re-writting it to not use Register Globals. If you're using something someone else wrong, like phpBB2, then they knew for at least a few years that this would happen, and they still wrote their stuff the way they did.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-26-2004, 11:54 AM   #8 (permalink)
Senior Member
 
gotissues68's Avatar
 
Join Date: Sep 2002
Location: Vancouver Washington, Mountain View CA and Atlanta GA you pick the week!
Posts: 716
OS: Linux/FreeBSD


Send a message via AIM to gotissues68 Send a message via Yahoo to gotissues68
I agree Skie, however I did review the source and it looks like mostly a bunch of GET requests so he should be relatively safe security wise. It wouldn't take maybe more then 30 minutes time to re-write it properly but if it were written prior to REGISTER_GLOBALS off then it would be a pretty darn decent piece of code =)
__________________
gotissues68 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-27-2004, 10:42 PM   #9 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


Thanks very much for the help guys. At this point in time I'll reserve getting rid of the global variables because I have too much work to do. There are a LOT of pages, etc, involved with the site; therefore I'll do the editing on weekends or whatever. Oh, I almost forgot. All the code for the site was written a couple of years ago (2002), before the register_globals Off thing. If I understand correctly it might actually be ok for me to leave it as is, yes?

Last edited by shylock; 12-27-2004 at 10:48 PM.
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2005, 10:23 AM   #10 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


Pencil html editor

Would you all know of an html editor for Linux/FC2 which is similar to Macromedia Dreamweaver? In-line html editing is a real pain sometimes
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2005, 10:38 AM   #11 (permalink)
Senior Member
 
gotissues68's Avatar
 
Join Date: Sep 2002
Location: Vancouver Washington, Mountain View CA and Atlanta GA you pick the week!
Posts: 716
OS: Linux/FreeBSD


Send a message via AIM to gotissues68 Send a message via Yahoo to gotissues68
I don't know of one off-hand no. I know you can run Dreamweaver via Crossover office but it of course costs money I think it runs 30 bucks or something and works pretty well. I use something called Jext http://www.jext.org which is a text editor but has syntax highlighting and macro's and what not. Let me know and I can put up a trial copy of crossover for you that I have.
__________________
gotissues68 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2005, 10:41 AM   #12 (permalink)
Registered User
 
Join Date: Dec 2004
Location: BC
Posts: 28
OS: WinXP Pro/FC2


Any kind of help would be nice and I'll try just about anything. At this moment I'm using a simple text editor and I'm sure we all know how long and time-consuming that can be. Thanks.
shylock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-11-2005, 01:58 PM   #13 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

You can take a look at Quanta which should be on your system if you have KDE. If not, you can download it here: http://sourceforge.net/project/showf...?group_id=4113. This is a KDE application, so you'll need some KDE files in order for it to run. It's not exactly WYSIWYG, but it fairly powerfull.

The only other decent HTML editor that I know of is Nvu which is the Composer of Mozzila. Linspire (Lindows) took Composer and turned it into its own stand alone application and enhanced it. You can download it here: http://www.nvu.com/download.html.

You can also purchase Zend Stuido. This is the only commercial HTML editor that I'm aware of for Linux. At least the only one worth mentioning. You can get it here: http://www.zend.com/store/products/zend-studio.php. However, it's geared more towards PHP then just plain HTML.

Beyond those 3, I'm not aware of any decent HTML editor.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 03:35 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85