XAMPP PHP not showing new files added - php

doing a school projectwith xampp and php. we got a base website that we have to edit and add features too. but when i add a page with a link to it, it loads the page as blank or doesnt load at all. for example: there is a menu with links to the different pages in. one of them is register. when you click on register. it does change from healthone.localhost to healthone.localhost/register in the browser . but the page does not actually change. it stays on the home page. same happens with newly added pictures. it does load the other already there pictures. but if i change them to something else that new picture doea not load

Related

Automatically redirects to another page without doing any action.I'm using php and jquery in the page

I have a php page which uses jquery also for loading another page in sidebar. When I click on any sidebar link, it will redirect to one page which shows the detail of the clicked link. Everything is working perfectly in my system. I checked in other two more systems. It's working perfectly. But I installed it in server, first few days, it was working fine. But now, whenever I load that page, it automatically redirects to the page which I loaded to the sidebar.
Eg: Main page: Billing_home.php
Sidebar Page: Call_lead.php
Redirect to : Lead_details.php ( Only when I click on a lead in sidebar)
When Billing_home.php loads, it Automatically redirecting to Call_lead.php
But Everything is working fine in my system. When they access it from server, it happens like that. What should I do? Please help

Wordpress - only the homepage can be found

My wordpress site works perfectly. My pages I create in Wordpress admin panel are displayed in widgets, so if you click on a nav menu item, a div appears and displays the content of it. Perfect. But as soon as I would like to write a new .php page and try to open it like writing "mywebsite dot com / confirmation.php" in the address bar, the bar displays "mywebsite com / confirmation.php" but there is the front page on the screen again. Even if I write anything else after mywebsite dot com/, it shows the index page, no matter what it is.. I tried to write "mywebsite dot com/sdjfhskhdfkshdfkjhsdf" and it still worked, displayed the home page again.
Any ideas?
Save your permalinks and make sure your htaccess is writable when you do so. Also can you get to your "/confirmation" page if you click view page from inside the page in dashboard? Also try changing the template that your new page is using.

CodeIgniter: Inside a controller-class can't go back to pages in one level higher

I am new to web development. I am using CodeIgniter 2.1.4 framework and WAMP server for testing.
I have followed the tutorial to create the News section, and added some link on the header.php to go to Home, About, and News.
All the links work perfectly on the main page and the News page. But once i go into News view page. All the link are broken.
For example, at the home page, all the link will point to
localhost/test/home
localhost/test/about
localhost/test/news
but once i go into News view page, all the link become
localhost/test/news/home
localhost/test/news/about
localhost/test/news/news
I am not too sure what i did wrong or missed.
Try adding a leading / to your links and referencing everything starting from the root of your domain.
Example:
a href='test' gets you www.yoursite.com/(yourdir)/test
a href='/test' always gets you www.yoursite.com/test

How to make my jquery plugin not restart when pressing links in my dynamic php website?

I have a classic php controller that gets the page name from the url and displays that page under my header section where my slideshow lives.Every time a press a link the slideshow restarts from the fisrt photo again or its killed while sliding and image.I know that the cause of that is that everytime time a link is given to the browser all the page is beeing proccesed again .
I know a few ways to go arround the problem using Ajax but the only problem with that is that the url will not change because it will be Async..I want to keep my url so my visitors are able to share the links they want.
An example site is at http://sounds.beatport.com where you press a sample to play , it loads it at the top and then you can browse thru the styles drop down menu changing links but yet the sample keeps playing..
So what i want to achive is having a div with my slideshow plugin keep playing at the top of my site without restarting while the visitors browse thru the site;

Pagination to viewing on one page

I have a module that displays registered and verified users for my CMS. The module is paginated displaying 10 on each page however I have a button that says "View All Members". What I'd like to know is how it would be possible for me the module to display ALL records on the page when the button is clicked and not sure how that would be possible. I am using PHP as well as jQuery.
You're being pretty vague but how about making your button redirect to url like http://mycms.com/users/all where all is the same page as users without the pagination in place.

Categories