Jump to content

mufasil

New Members
  • Posts

    5
  • Joined

  • Last visited

mufasil's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks to all, The problem is solved by making virtual host sub domain in xampp.
  2. Anyone here to solve this problem?
  3. Thanks again for your reply, I have tried both one bu one the error seems to be resolve, but new problem occurs that page not loading css while when i upload it on my Web hosting it works fine, i am attaching screenshots of both localhost and hosting. Screenshot #1 - Localhost: http://s30.postimg.org/rl48kktxd/PHP_problem.png Screenshot #2 - Webhosting: http://s30.postimg.org/phttcwu4h/PHP_Real_page.png Please check i have echo the set_include_path in Screenshot #1. Thanks
  4. Thanks requinix for your detailed reply. I am 100% agree with your reply, i think i can't able to describe my problem properly, Basically i am learning php i have great knowledge about procedural PHP, now i am using "Udemy.com" tutorials to learn OOPS and work with Framework, so i am following my Udemy teacher what he is doing, and i think the tutor is doing perfect coding because when i run that coding on my hosting that works fine, so i am sharing my whole coding please check and tell me the solution, The only problem is that when i tried to access my index.php file the following error occurs. My Project Path: C://xampp/htdocs/project-name Project Coding: 1. /inc/autoload.php 2. /inc/config.php 3. /classes/Core.php 4. /classes/Url.php 5. /pages/index.php 6. /pages/error.php 6. index.php Above are the codes for whole project when i run this i got following error, How can i resolve, Kindly Help. Thanks
  5. Dear Sir, I am building a small framework and going to check on my local computer by using "XAMPP Server" so i have 2 folder and 5 file the hierarchy is: - inc - config.php (Contains all configuration of website like, Directory Separator, Include Path .. etc.) - autoload.php -classes - Url.php (Class) - Core.php (Class) - index.php when i try to run this application i got following Error: I have also tried to change settings of include_path php.ini changes are following: 1. remove ',;' from include_path 2. try to change to this '\php\PEAR' 3. put ';' in starting og php_include_path my current default setting of php include is: Now what i see after doing the changes in php.ini file. When i add ';' in starting of include_path website seems to work but files locations are changed and file not able to access properly means the URL looks like this, URL: localhost/images/abc.png The proper URL is: Proper URL: localhost/project-name/images/abc.png Kindly tell me what i do to solve this problem Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.