Why can I load css but not javascript or images using my temporary url

Asked by:
sixslinger / 5 Points
2012-09-29 3:29 pm EST
Website Troubleshooting
I am unable to load my images or javascript while using my temporary url. My pages are coming up along with my css. I am using Codeigniter and have changed my config file and my htaccess file. I think this was done correctly since my pages are coming up. My image, css, and js folders are in my public_html folder and I am using the same addressing style to load my css and js scripts, but only my css is loading.

To ask this user for more information, please first login.

To submit an answer, please login.



16,266 Points
2012-10-01 9:17 am EST
Hello sixslinger,

Although code support is out of our scope, we always try to help identify any issues within our capacity.

I am seeing any code errors when attempting to go to the photos page. The page itself loads, but I can see the photos do not load into the slideshow in the middle of the page. All other images on the site are loading fine.

On the photos page there is an error for each image that is supposed to be there. They are all identical except for the filename mentioned. They are in the following format:

"Image corrupt or truncated: http://localhost/uploads/thumbs/acd302895163beb91ff45351dda5089.jpg"

My guess is that the issue lies within the path. These paths also show up in the source code of the page, so the code believes that is the place it is supposed to look for the images but is not finding them.

You will want to check through the correct scripts and ensure all paths are correct for the photos.

Best Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.