Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1972

(Closed) Can someone please help me figure this out (Closed)

by loneking37 - 14 May, 2019 - 01:06 AM
This post is by a banned member (loneking37) - Unhide
179
Posts
14
Threads
5 Years of service
#1
(This post was last modified: 15 May, 2019 - 08:43 PM by loneking37.)
I'm trying to upload my website, but the index.html file can't be accessed through webbrowser and comes out as an 403 error.
I looked through the code and narrowed down the problem to this code that just wont work with me i also tried looked through google with no luck...
I tried to run the index.html file on my pc and it worked fine, but i cant make it work on the website i have.

heres the code that wont work:
Code:
   
<!-- ^1 -->
<script type="text/javascript"
src="../pagead2.googlesyndication.com/pagead/f.txt">
</script>

<!-- SCRIPTS -->
   <script src="../ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
   <script>
       $(document).ready(function(){
           $("#fakeloader").fakeLoader({
               timeToHide:1000,
               bgColor:"#4253f4",
               spinner:"spinner1"
           });

           new WOW().init();
       });
   </script>    
   <script type="text/javascript" src="js/particles.min.js"></script>
   <script type="text/javascript" src="js/app.js"></script>
   <script src="https://embed.selly.gg/"></script>
   <script type="text/javascript" src="js/mdb.min.js"></script>
   <script src="../joaopereirawd.github.io/fakeLoader.js/demo/js/fakeLoader.min.html"></script>
   <script src="../cferdinandi.github.io/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>

   <script>
       var scroll = new SmoothScroll('a[href*="#"]:not([data-easing])');
       var linear = new SmoothScroll('[data-easing="linear"]', {easing: 'linear'});
   </script>    
</body>


<!-- Mirrored from elegencealts.tk/ by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 09 Mar 2019 17:03:27 GMT -->



to be more specific, the problem is this code:
Code:
<!-- ^1 -->
....
<!-- SCRIPTS -->
....
<!-- Mirrored from elegencealts.tk/ by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 09 Mar 2019 17:03:27 GMT -->


thanks in advance
Discord:*********#****
 
Buy SMS Verification and more at my shop
I'm Out at the moment
 
[Image: 68747470733a2f2f63646e2e646973636f726461...676966.gif]
 
WILL REPORT LEECHERS
 :pepegun:
 
Replay=Leecher
Replay+Like=NonLeecher
Like=The Best
Rep=God
This post is by a banned member (loneking37) - Unhide
179
Posts
14
Threads
5 Years of service
#2
Is There no one who can tell me the problem?
Discord:*********#****
 
Buy SMS Verification and more at my shop
I'm Out at the moment
 
[Image: 68747470733a2f2f63646e2e646973636f726461...676966.gif]
 
WILL REPORT LEECHERS
 :pepegun:
 
Replay=Leecher
Replay+Like=NonLeecher
Like=The Best
Rep=God
This post is by a banned member (user096) - Unhide
user096  
Registered
4
Posts
1
Threads
5 Years of service
#3
403 is a access denied error, have you tried it on another hosting platfrom? and make sure on your hosting the index.html the permission of public is read. if you disabled it it will obviously end it 403
This post is by a banned member (loneking37) - Unhide
179
Posts
14
Threads
5 Years of service
#4
(15 May, 2019 - 11:34 AM)user096 Wrote: Show More
403 is a access denied error, have you tried it on another hosting platfrom? and make sure on your hosting the index.html the permission of public is read. if you disabled it it will obviously end it 403

I haven't tried any other host yet, but i did put permissions on public.
I might try it on another host, thanks for the advice
Discord:*********#****
 
Buy SMS Verification and more at my shop
I'm Out at the moment
 
[Image: 68747470733a2f2f63646e2e646973636f726461...676966.gif]
 
WILL REPORT LEECHERS
 :pepegun:
 
Replay=Leecher
Replay+Like=NonLeecher
Like=The Best
Rep=God
This post is by a banned member (Duncan Idaho) - Unhide
589
Posts
148
Threads
5 Years of service
#5
(This post was last modified: 15 May, 2019 - 05:09 PM by Duncan Idaho.)
(15 May, 2019 - 01:07 PM)loneking37 Wrote: Show More
(15 May, 2019 - 11:34 AM)user096 Wrote: Show More
403 is a access denied error, have you tried it on another hosting platfrom? and make sure on your hosting the index.html the permission of public is read. if you disabled it it will obviously end it 403

I haven't tried any other host yet, but i did put permissions on public.
I might try it on another host, thanks for the advice

Does your site have an .htaccess? Or do you have access to apache's conf/httpd.conf? You should continue to get the same error no matter what document you upload for your index. I'd just upload a simple 'Hello World!' document until you are certain your site is accessible.
This post is by a banned member (loneking37) - Unhide
179
Posts
14
Threads
5 Years of service
#6
(15 May, 2019 - 05:09 PM)Duncan Idaho Wrote: Show More
Does your site have an .htaccess? Or do you have access to apache's conf/httpd.conf? You should continue to get the same error no matter what document you upload for your index. I'd just upload a simple 'Hello World!' document until you are certain your site is accessible.

No, the site does not have a .htaccess file and I was confused by this too, but I have been through all the tests I could think of regarding that part of the code with no luck... But the site is accessible only the part I posted is the problem, the site works fine
Discord:*********#****
 
Buy SMS Verification and more at my shop
I'm Out at the moment
 
[Image: 68747470733a2f2f63646e2e646973636f726461...676966.gif]
 
WILL REPORT LEECHERS
 :pepegun:
 
Replay=Leecher
Replay+Like=NonLeecher
Like=The Best
Rep=God
This post is by a banned member (Duncan Idaho) - Unhide
589
Posts
148
Threads
5 Years of service
#7
(15 May, 2019 - 07:15 PM)loneking37 Wrote: Show More
(15 May, 2019 - 05:09 PM)Duncan Idaho Wrote: Show More
Does your site have an .htaccess? Or do you have access to apache's conf/httpd.conf? You should continue to get the same error no matter what document you upload for your index. I'd just upload a simple 'Hello World!' document until you are certain your site is accessible.

No, the site does not have a .htaccess file and I was confused by this too, but I have been through all the tests I could think of regarding that part of the code with no luck... But the site is accessible only the part I posted is the problem, the site works fine

In PHP and JS the file selectors are different. ../ functions differently. It appears to be pointing past your root folder which may be what is causing your issues. Although I'm not positive as I don't know your folder structure.
This post is by a banned member (loneking37) - Unhide
179
Posts
14
Threads
5 Years of service
#8
(This post was last modified: 15 May, 2019 - 08:41 PM by loneking37.)
(15 May, 2019 - 07:29 PM)Duncan Idaho Wrote: Show More
In PHP and JS the file selectors are different. ../ functions differently. It appears to be pointing past your root folder which may be what is causing your issues. Although I'm not positive as I don't know your folder structure.
what do you mean, the  PHP and JS the file selectors are different? and how is it pointing past my root folder?
I got the files for the website from someone, so I'm not sure how they are set up, I just copy pasted and played with everything till I found the problem

[Image: Capture.png]

Edit: I now notice that my mistake was never the code. I had every folder on a wrong permission code, everything works fine now...
Thanks for all your help :) +Like on your posts here
Discord:*********#****
 
Buy SMS Verification and more at my shop
I'm Out at the moment
 
[Image: 68747470733a2f2f63646e2e646973636f726461...676966.gif]
 
WILL REPORT LEECHERS
 :pepegun:
 
Replay=Leecher
Replay+Like=NonLeecher
Like=The Best
Rep=God

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)