-
Posts
223 -
Joined
-
Last visited
Profile Information
-
Gender
Male
-
Location
Coventry, UK
-
Interests
Sociology / Digital Humanities / Galactic Exploration / Wikipedia browsing
Recent Profile Visitors
JeevanisM's Achievements
Sr. Member (5/6)
89
Reputation
-
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
ahh something obvious !! glad you figured it out, wishes :) -
@Siddhi Jagtap is this still an issue for you ? thought you have fixed it.
-
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
Well, I created the folder ' bhimon', then uploaded the PW zip file and extracted it. It will have a folder named processwire but I had to move everything outside of it, so that every files will be in the 'bhimon' folder. Then I called the installation such as http://www.jeevanism.com/bhimon this will start the installation and went everything good. I could access my website and my admin URL . well, yes if your 'folder' name is 'test' then you will have to add that at the end of the URL. please try to enable the debug mode on, so that you can see if there any errors. On the client side, check any errors happening in FireFox/Chrome developer console. -
I am not sure if this is related to this issue.
-
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
I dont understand this fully, but ideally, all your PW related files/folders should be inside that ' test ' only, if you want this website work in the subdomain way. If the website should be as the main domain, all your PW files should be the public_html folder (docroot), whichever the case, you should do this in the installation steps, not after that . to give you a clear understanding, below is my folder structure , bhimon is my subfolder where I installed my PW backup and website is accessed as http://www.jeevanism.com/bhimon -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
hmmm, we seem missing something obvious. lets see.. try installing a fresh latest master branch of PW in the folder ' test ' in your server root (inside public_html if you are in cpanel ) if this works, you should access the admin : http://yourwebsite.com/test/admin (you can give different admin name if you want) try to see the pages and if it works if the above works - you can try same method but this time install your actual site profile backup (taken from your development ). So you can rule out issue of the server problems. If the issue persists, its something mal-configured in your site profile. you can enable debug inside site/config.php $config->debug = true; -
JeevanisM started following MoritzLost
-
Hi all, just another topic over the beer. I started using Bootstrap from the version 3 but really loved it. BS 5 seems really powerful but I cannot ignore flashy trend of TailwindCSS. I tried to learn it on a new project but I am not able to make any progress so far. Every one saying TailwindCSS is super easy and whatnot. What are your thoughts on these ? which one you like and why ?
-
just curious, how many of you like/work on https://alpinejs.dev/ ?
-
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
If you open the .htaccess file, you can see a section like below usually, the website should work straight away, but in you case, just try if you can add your subfolder name as rewrite base. -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
I dont usually do this, I am not expert in PW but usually, I just follow the normal installation and website works right away. There will be some mismatch with external links / images which can be solved easily. I usually get my navbar menu using page ID only. -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
ok, then I guess we need to check the .htaccess file. Is there any .htaccess file in root folder ? trying to meddle with the URL and root folder ? and I migrated one of my old PW site backup as a subfolder to my main website, my admin URL go like this https://mymainwebsite.com/subfoldername/adminname/ -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
There is a quick dirty fix is to rename the exported folder name into ' site ', this will bypass the profile not found error. -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
well, just for a testing, can you try to put a test link using this <?php echo $pages->get(1001)->url; ?> // where (1001) is the page ID, you can see this page ID from admin. -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
depends on the way you are getting the page URLs. If you are getting page links using page ID, please check the if the correct Page ID exists. You can check this in admin section. If the page IDs are not matching, it may throw error. Another possible situation for non object error is, when you try to output a string/url instead of an object. An explanation is here. -
Migrating website from dev server to live server.
JeevanisM replied to Siddhi Jagtap's topic in General Support
how are you linking to the about page ? can you put this below code in your home page and try clicking the link working or not ? <!-- top navigation --> <ul class='topnav' role='navigation'><?php // top navigation consists of homepage and its visible children $homepage = $pages->get('/'); $children = $homepage->children(); // make 'home' the first item in the navigation $children->prepend($homepage); // render an <li> for each top navigation item foreach($children as $child) { if($child->id == $page->rootParent->id) { // this $child page is currently being viewed (or one of it's children/descendents) // so we highlight it as the current page in the navigation echo "<li class='current' aria-current='true'><span class='visually-hidden'>Current page: </span><a href='$child->url'>$child->title</a></li>"; } else { echo "<li><a href='$child->url'>$child->title</a></li>"; } } // output an "Edit" link if this page happens to be editable by the current user if($page->editable()) { echo "<li class='edit'><a href='$page->editUrl'>Edit</a></li>"; } ?></ul> and please check the about page has templates set and published and no permission issue