Previous Thread
Next Thread
Print Thread
Hop To
#180474 03/11/2007 12:10 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
The Problem is i cant upload anymore frown
This is on my forums btw.

So what happened??
I dont know?

Any idea's ?
Well yeh, i moved my forum from one domain to another?
Everything seemed to be working fine.
Database and posts were working great.
Updated the paths for uploading avatars and attachements.
And then?

First the troubles began with the avatars path?
No matter what i changed it too the file check would fail?
I previously had it set to a subdomain so i could monitor
bandwidth, and allow my forums to be functional.

so all i changed with in the path was the domain name
checked the permissions and it should work?

Nothing can be written to my subdomain folders.
777

I'm checking somestuff out now,
but just wondering if anyone else has had a problem?

As its doing my nut in now?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Check paths, check permisions, check directory owners... All sorts of things can go awry lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Paths are good.
Permissions are good.

Directory owners?
Under same reseller account, just diffrent User accounts.

Doing more testing to see if its a server thing
or a 7.1 thing?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
It's likely a server thing; in some cases apache will create files as the "apache" or "root" user, vs the user they belong to; so yes, checking the actual "owners" of files is a nessessity at times as well


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Humm Strange.... Or not strange?

As i mentioned above, i copied and pasted basically
my forum directory to its new location.

SQL didnt have to move as they were all under the same
owner. Domain's are under the same owner too.

Only the subdomains which i use for attachments,
have a diffrent owner.

Before the move Domain A works fine (File Test)
Copied and pasted files to new location.
Ran Permissions check, needed to change a few but all green in UBB.
DOMAIN B will not pass the file test for uploads,
even though its the same url / path to the subdomain?

I went back to Domain A and the file test workd fine frown

It is a strange one?

=========================
Not sure how you would check the files "Actual Owners" ?
Ive restarted the httpd and mysqld no changes,
and also Direct Admin.

Still the same. frown


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
ls -hal via SSH will display file permissions/owners.

Additionally, via FTP most clients have a "view owners" directive.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
I can see the owners in Direct Admin?

UID & GID Are Both the same user name (Not Root)
At the subdmain & also same but diffrent user name at Domain A & B

I'm going to have to think about this one,
and perform some houskeeping as it could be somthing
stupid, thats causing this....

Then get gizmo in to fix it lol...


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I don't know, i doubt directadmin cares about the file owners, but i've never used it...

the UID should be the same on the files as it is on any other files...

In any case you told me on AIM you're gong to hound me in the morning, so i'm waiting on you to take up lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Well i got the files writing again Phew?

I dont know what it was that ive done,
or which worked?

I did add this to the httpd.config
<Directory |DOCROOT|>
Options +ExecCGI
</Directory>

Which was in my Domain A
and add it to Domain B
And its writes now smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
That should only allow for CGI scripts to be executed in the document root.. It shouldn't affect uploading I don't think...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
ls -hal?? what is the difference between that and ls -al?

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
man ls

-h When used with the -l option, use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less using base 2 for sizes.

Short answer: human readable.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
ls -alh

list it all in long format, but make it human readable.



This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
bold letters need to be about 90 pixels fatter, or so. smile


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
SPAMMER!, but yeh Dave has summed it up quite nicely... If you don't want to read in bytes, -h is quite handy... I use it with df all the time.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
thanks guys smile


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
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 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)