SQL Error No such file or directory error 2002

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Kenny66
Registered User
Posts: 5
Joined: Wed Aug 29, 2018 12:32 am

SQL Error No such file or directory error 2002

Post by Kenny66 »

So I've seen plenty of posts about this error in previous versions, and nobody ever comes back to post the resolution for it.

The interesting thing for my situation is I can get to the board fine with http://<ip address)/phpbb/

But I get this error when I try to go to http://<mydomain>

Image

I have the root directory for the site set to /phpbb/ so that doesn't have to be in the URL.

Thanks.
User avatar
Lumpy Burgertushie
Registered User
Posts: 68587
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: SQL Error No such file or directory error 2002

Post by Lumpy Burgertushie »

how about an actual link to your site please.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Kenny66
Registered User
Posts: 5
Joined: Wed Aug 29, 2018 12:32 am

Re: SQL Error No such file or directory error 2002

Post by Kenny66 »

User avatar
Brf
Support Team Member
Support Team Member
Posts: 52379
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: SQL Error No such file or directory error 2002

Post by Brf »

The IP address of that site redirects to 3dmakers.market/phpbb which gets a 403 forbidden error.
3dmakers.market/phpbb/index.php gets a 404 Notfound.
Kenny66
Registered User
Posts: 5
Joined: Wed Aug 29, 2018 12:32 am

Re: SQL Error No such file or directory error 2002

Post by Kenny66 »

As I mentioned I set the root directory for the site to the pbpbb folder so http://3dmakers.market is the root of the phpbb folder.

Yes, the IP address does go to the web root and redirects to the pbpbb folder. On the internal IP of the server I can get to the board fine by going to the ip/pbpbb/ just not from outside the network.
User avatar
janus_zonstraal
Registered User
Posts: 5198
Joined: Sat Aug 30, 2014 1:30 pm

Re: SQL Error No such file or directory error 2002

Post by janus_zonstraal »

This url is correct
http://3dmakers.market/styles/prosilver/style.cfg

So maybe only your index.php is wrong or forbidden
Sorry! My English is bat ;) !!!
User avatar
Lumpy Burgertushie
Registered User
Posts: 68587
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: SQL Error No such file or directory error 2002

Post by Lumpy Burgertushie »

when I access that file it pops up the save or open dialog box for me instead of displaying the file in the browser. that usually means incorrect permissions set on the file/folder etc.

I think you have some file permission problems on the server.

all phpbb folders ( including the main directory of phpbb ) should be set to chmod 755 except for the cache folder, store folder, images/avatars/upload folder which should all be set to 777.

all files should be set to chmod 644


try that and see what happens.

also, why are you doing some type of redirect with the phpbb folder ? why do you not simply put all of the phpbb files/folders into the main site directory and you would eleminate a lot of these type issues.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Kenny66
Registered User
Posts: 5
Joined: Wed Aug 29, 2018 12:32 am

Re: SQL Error No such file or directory error 2002

Post by Kenny66 »

It's being hosted temporarily on a Synology Diskstation NAS. I may just move it to another server instead of messing around with it much more. It doesn't have the CPU power to handle very many users anyway.
User avatar
Lumpy Burgertushie
Registered User
Posts: 68587
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: SQL Error No such file or directory error 2002

Post by Lumpy Burgertushie »

if you are serious about your board then you need to move it to a paid hosting account somewhere. unless you have spent a lot of money on equipment at home and for bandwidth with your ISP, your home computers and internet service will just not work very well for your users.
besides which, your ISP may just suspend your account for violating the TOS about running websites from their services.



luck,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Post Reply

Return to “[3.2.x] Support Forum”