XAMPP with Netbeans

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP with Netbeans

Postby jagcon » 17. February 2021 15:06

Hi i'm looking for some help if possible. I have a website hosted and i'm working on a college project where i'm using XAMPP as a local host and using Netbeans as a IDE. So i have copied all my HTML and index files into HTDocs in XAMPP, but when i run the file with Netbeans it runs on the web browser local host but there's no images showing. I also have the images saved in HTDocs in XAMPP.

Any ideas how to solve this?
jagcon
 
Posts: 2
Joined: 17. February 2021 13:57
XAMPP version: v3.2.4
Operating System: Window 10

Re: XAMPP with Netbeans

Postby Altrea » 17. February 2021 16:12

You did not show us any code or Apache access.log to see the requests that get fired, so I don't know how we are able to identify your issue.

You need to request the asset files the right way is the only answer I can give you.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 10727
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: XAMPP with Netbeans

Postby jagcon » 17. February 2021 16:44

Hi Here is the index file.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>golfclubwebsite</title>
<link href="site_style_sheet.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id="wrapper"> </div>

<div id="header">


<img src="header.jpg" alt="Gone Golfing" width="100%" height="100%">


</div>

<div id="navbar">
<div id="holder">
<ul>
<li><a href="./index.html">Home</a></li>
<li><a href="./membership.html">Membership</a></li>
<li><a href="./facilities.html">Facilities</a></li>
<li><a href="./pro shop.html">Pro Shop</a></li>
<li><a href="./golf rules.html">Golf Rules</a></li>
<li><a href="./results.html">Results</a></li>
<li><a href="./MembersArea.html">MembersArea</a></li>

</ul>
</div> <!-- end holder div -->
</div> <!-- end navbar div -->


<p><strong><em>TARAHILLS GOLF CLUB</em></strong></p>

<p> <a href=>Championship Golf Course</a> <br>
Conveniently located less than 30 minutes from Dublin, this superb 18 hole championship golf course is the jewel of the county countryside. Set in beautiful surroundings with the river Tara bordering a number of holes and the Dublin and Kildare hills in the background. Using the natural landscape to its fullest, this 180 acre course has many interesting hazards making it a challenge for golfers of all levels.</p>

<p>&nbsp;</p>

<p>Tarahills is a traditional parkland course set in the short grass county of Kildare and is situated on rolling terrain and lush, tree lined fairways.&nbsp;The strategically placed bunkers reward the accurate player. Fast, true and undulating greens provide a stern challenge with the flat stick! </p>



<div id="footer">Tarahills Golf Club, Tarahills, Co. Kildare <p>Email: <a href="mailto ;info@tarahills.com">info@tarahills.com</a></p> Contact No 099-1234567
</div>

<script type="text/javascript">
$(function() {
$( "#Tabs1" ).tabs();
</script>

</body>
</html>



And here is the Members area file



<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Membership</title>
<link href="site_style_sheet.css" rel="stylesheet" type="text/css">
</head>
<?php
?>


<body>

<div id="wrapper"> </div>

<div id="header">
<img src="photo7.jpg" alt="Gone Golfing" width="100%" height="100%">
</div>

<div id="navbar">
<div id="holder">
<ul>
<li><a href="#" id="onlink">Home</a></li>
<li><a href="./membership.html">Membership</a></li>
<li><a href="./facilities.html">Facilities</a></li>
<li><a href="./pro shop.html">Pro Shop</a></li>
<li><a href="./golf rules.html">Golf Rules</a></li>
<li><a href="./results.html">Results</a></li>
<li><a href="./MemberaArea.html">MembersArea</a></li>

</ul>
</div> <!-- end holder div -->
</div> <!-- end navbar div -->

<p><strong><em>TARAHILLS GOLF CLUB</em></strong></p>

<form action="action_page.php" method="post">
<div class="imgcontainer">
<img src="img_avatar2.png" alt="Avatar" class="avatar">
</div>

<div class="container">
<label for="uname"><b>Members ID</b></label>
<input type="text" placeholder="Enter Members ID" name="uname" required>

<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>

<button type="submit">Login</button>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
</div>

<div class="container" style="background-color:#f1f1f1">
<button type="button" class="cancelbtn">Cancel</button>
<span class="psw">Forgot <a href="#">password?</a></span>
</div>
</form>





</p>

<div id="footer">Tarahills Golf Club, Tarahills, Co. Kildare <p>Email: <a href="mailto ;info@tarahills.com">info@tarahills.com</a></p> Contact No 099-1234567
</div>

<script type="text/javascript">
$(function() {
$( "#Tabs1" ).tabs();
</script>

</body>
</html>
jagcon
 
Posts: 2
Joined: 17. February 2021 13:57
XAMPP version: v3.2.4
Operating System: Window 10

Re: XAMPP with Netbeans

Postby Altrea » 17. February 2021 19:16

The only images i can see are the header.jpg, photo7.jpg and img_avatar2.png.
ALl of them should work if placed in the same directory as the html files.
Or do you mean any images referenced in an css file?

What is the full url if you run the file in netbeans?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 10727
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 75 guests