Error when trying to upload Avatar

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Error when trying to upload Avatar
WeigelRich
CZ Active Member
WeigelRich has been a member for over 19 year's 19 Year Member
usa.gif pennsylvania.gif
Occupation: Safety Specialist
Age: 45
Gender: Male
Website:
Status: Offline
Joined: Jul 06, 2005
0.02 posts per day
Posts: 123
Points: 4,498
 Yahoo Messenger MSN Messenger 
Hello all,

I noticed that none of my members can upload there own avatar's. When I went into the Avatar Management in the Forums CP I notice errors and I am not sure how to fix them. The only way to use there avatar is to link it to off-site.

The error:
Warning: main(../../mainfile.php): failed to open stream: No such file or directory in /home/weigelri/public_html/thehowlers/modules/Forums/config.php on line 3

Warning: main(../../mainfile.php): failed to open stream: No such file or directory in /home/weigelri/public_html/thehowlers/modules/Forums/config.php on line 3

Warning: main(): Failed opening '../../mainfile.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/weigelri/public_html/thehowlers/modules/Forums/config.php on line 3


Anyone know what I need to do to fix this.. I am using nuke 7.6 and 2.0.14 forums..

Thank you in advance...



_________________
Back to top Reply with quote
#2   Re: Error when trying to upload Avatar
Skater_Dude
CZ Super Newbie
Skater_Dude has been a member for over 19 year's 19 Year Member
usa.gif missouri.gif
Occupation: Want to become a web designer
Age: 32
Gender: Male
Fav. Sports Team: New England Patriots
Website:
Status: Offline
Joined: Aug 11, 2005
0.00 posts per day
Posts: 30
Points: 8
 Yahoo Messenger  


Originally posted by WeigelRich @ Sat Aug 13, 2005 9:24 am:

Hello all,

I noticed that none of my members can upload there own avatar's. When I went into the Avatar Management in the Forums CP I notice errors and I am not sure how to fix them. The only way to use there avatar is to link it to off-site.

The error:
Warning: main(../../mainfile.php): failed to open stream: No such file or directory in /home/weigelri/public_html/thehowlers/modules/Forums/config.php on line 3

Warning: main(../../mainfile.php): failed to open stream: No such file or directory in /home/weigelri/public_html/thehowlers/modules/Forums/config.php on line 3

Warning: main(): Failed opening '../../mainfile.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/weigelri/public_html/thehowlers/modules/Forums/config.php on line 3


Anyone know what I need to do to fix this.. I am using nuke 7.6 and 2.0.14 forums..

Thank you in advance...


Well i once got this eror and my friend had fixed it i will try and get him to get a hold of you

BTW Did u have to pay for the forums u have if so how much if not where do i get them.

icon_biggrin.gif LoL icon_biggrin.gif


Back to top Reply with quote
#3   re: Error when trying to upload Avatar
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
Skater,

Hmmm... you had this problem before? But yet, according to this post:
[ Register or login to view links on this board. ]

you didn't even know what PHP Nuke was!

Just a warning, in the future, I will be deleting your posts if I feel they are not helpful or if you're just trying to up your post count. People come here seeking help. They don't need to have their time wasted by having to read BS posts.

Also, it is NOT necessary to quote the post before yours when you answer a post. All that does it waste space.

WeigelRich,

Those errors indicate that the path to your mainfile.php is incorrect. Check the path again and correct it in config.php.



Back to top Reply with quote
#4   
WeigelRich
CZ Active Member
WeigelRich has been a member for over 19 year's 19 Year Member
usa.gif pennsylvania.gif
Occupation: Safety Specialist
Age: 45
Gender: Male
Website:
Status: Offline
Joined: Jul 06, 2005
0.02 posts per day
Posts: 123
Points: 4,498
 Yahoo Messenger MSN Messenger 
Ok but I really have no idea on what I am looking for by the path to correct it... I will check it out and see what I can come up with.. Then edit here unless someone has posted.. Thank You for the help..

This is all that is in my config.php
<?php

include("../../mainfile.php");
define('PHPBB_INSTALLED', true);

?>



Edit: Ok I did some working with it figured out that the include("../../mainfile.php"); just needed a @ sign in front of it.. It works great now. Thank you for the help Kelly Hero.

Ok I got it so that the error don't show but it still won't take the picture. It is under specs. When I upload a pic for my avatar it only shows as a box with an X. any idea.



_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum