Welcome, Guest. Please Login or Register.
November 06, 2024, 08:56:26 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Few questions from the php/MySQL newbie « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Few questions from the php/MySQL newbie  (Read 297 times)
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Few questions from the php/MySQL newbie
« on: April 18, 2003, 03:43:22 PM »
Reply with quote

I've seen a few of you at YaBB  :-*

I'm setting up additional forums and had some questions.

1) When attaching an image, why am I getting this error?

Quote: opendir(/usr/home/v1/a0012660/html/forums/attachments) [function.opendir]: failed to open dir: No such file or directory
(/usr/home/web/users/a0012660/html/forums/Sources/Post.php ln 900)
The folder is there and is set to 755.

2) When feeding the news to a test page I get nothing.  Depending on what variable I try I either get garbage letters, "an error occured while processing this directive," or nothing at all.  I've tried relative paths and absolute paths.  Any suggestions?

3) I tried searching "users online" to feed it to an .html page, but only found info in the German board.  :-\  Is there a mod to feed users online, last post, etc. info to an html page?

TIA  ;D
« Last Edit: April 18, 2003, 04:18:00 PM by EliteRides » Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Few questions from the php/MySQL newbie
« Reply #1 on: April 18, 2003, 08:45:59 PM »
Reply with quote

Your path is now:
/usr/home/v1/a0012660/html/forums/attachments

It should probably be:
/usr/home/web/users/a0012660/html/forums/attachments

Look at SSI.php.

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Few questions from the php/MySQL newbie
« Reply #2 on: April 18, 2003, 09:44:25 PM »
Reply with quote

and i believe the attachment directory should be set CHMOD 777
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:Few questions from the php/MySQL newbie
« Reply #3 on: April 19, 2003, 04:43:02 AM »
Reply with quote

Where do I change the path to the attachments?  My host did "upgrade" all the servers the other day and now I do have some new parent directories.

They do not allow 777.  I've always used 755.  Works good  :)  It's just got to be the path then.  I do not see it in the Settings.php file with the others.  So I'm not sure.  Thanks again for the help  :D
Logged

Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Few questions from the php/MySQL newbie
« Reply #4 on: April 19, 2003, 04:48:29 AM »
Reply with quote

it's in Admin Center -> Installed Mod Settings
the settings are saved in the database, not Settings.php ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:Few questions from the php/MySQL newbie
« Reply #5 on: April 19, 2003, 05:12:56 PM »
Reply with quote

Oh, you guys are awesome.  Got the users online and the attachments figured out.  One more and then I'm out of your hair.  The news still isn't interpreting incorrectly.  It's just loading characters like:


Quote‹¬"]KÃ0†ïÿÃ!à•²d(nIEôVðJ¯Óæt ¦MIÎÖNüñ¦³ŠóT¼ÉÉû¾yNrx Iç!÷Á`PL0謡J±©G ´³«F±ÂÀ²Ã´?¤@'Édé,R¨Ø£Í ÚÇ4±LÚz1ŠUDí,ó®ë&èl²ã¤ð5/}X×'ÛZ¯0ò¾Ÿ¬lùfZ[cSR¬ïð džF'<Ï$ì÷BlöCLSˆ<¤c—m°¦g'0b~âl!æ q ·7_¨Ü}R€| RC°üÉ}ƒý¤­Ú ]õÚXìÚàKëp¹Ž ´ÑµoXv=t'ë1çØŽ'xBœ€óñï¸o>qøÀïáÇÊh^+³÷¯,ÿgÄ¿Ì½FÍ–#QccëôvIIHkÔù2'¤Ëfêôd〞þT¹~­ôÞŒ,9T·iõ8`붣{ºÜ}HÂpõ'`WÛ/añÝÇF/D«°ÿó^Q?ÿÿ$7Í£
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Few questions from the php/MySQL newbie
« Reply #6 on: April 19, 2003, 05:31:30 PM »
Reply with quote

Disable output compression.
Logged

EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:Few questions from the php/MySQL newbie
« Reply #7 on: April 19, 2003, 06:01:22 PM »
Reply with quote

You guys are awesome.  Thanks again.   ;D
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Few questions from the php/MySQL newbie « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.112 seconds with 21 queries.