Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
I am running UBB6.04 on unix with no mods. When I start a new topic, the screen comes up fine, I type in a test message and as soon as I hit "submit" I am getting this error:

Can't open: No such file or directory at /www/ngfusa/cgi-bin/ubb_new_topic.cgi line 365

I have reuploaded this file and made sure my persmissions are set.

It looks like this is the chunk of code it is going against:

Code
# update user_posts file
if (($reg_status eq 'reg') && ($permission ne 'private'))  {
open (FILE, ">>$vars_config{MembersPath}/user_posts/$user_number.cgi") or die("Can't open: $!" );
lock
print FILE "$in{f}|$new_topic_number|000000n";
unlock
close (FILE);
chmod (0777, "$vars_config{MembersPath}/user_posts/$user_number.cgi");
} # if user is registered & forum is not private  
Now I do not have any directory under my members folder that is titles "user_posts" It seems the info it is looking for is what would be in my Members directory.

The direct link to by UBB board is:

My UBB board

Any help would really be appreciated.

Thanks,

Chris

Anonymous
Unregistered
Anonymous
Unregistered
Members Path is CHMOD 777?

qasic

Anonymous
Unregistered
Anonymous
Unregistered
After checking the CHMOD, go to the control panel, and click

Maintenance
Update Member Post Histories

and that should create the required folder and files <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
And you should remove ?action=intro from the link, cause it isn't doing anything <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
It seems to be ok now. Thanks for all the help.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)