Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM All pages show the same content
#1
Hi!
I'm running the latest 3.3.10 GS on XAMPP,
I'm starting a project - a blog website, making the template from scratch.
There seems to be a problem that I cannot solve -
the <?php get_page_content(); ?> (which I put in template.php) outputs only the home page,
so does the html title and page title...

It happens either with or without fancy URLs, plugins, original themes, etc...


What should I look for?

Thanks in advance Smile

Info:
GS 3.3.10
XAMPP 3.2.2
Running Apache with all needed components on and installed

Edit 1-
Debug mode findings:
using custom navigation plugin;
Undefined variable currentpage in plugins\custom_navigation.php on line 73

When disabling custom navigation and putting normal getnav;
Undefined variable: currentpage in admin\inc\theme_functions.php on line 583

Edit 2-
Reinstalling GS and putting in the theme;
From installation:
GetSimple 3.3.10 - Latest version installed
PHP Version 5.6.23 - OK
Folder Permissions OK - Writable
cURL Module Installed - OK
GD Library Installed - OK
ZipArchive Installed - OK
SimpleXML Module Installed - OK
Apache web server Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 - OK
Apache Mod Rewrite Installed - OK

Now it's Working, fixing theme and applying plugins, will report soon back!
(Please don't lock thread, I might run into more trouble.. I don't want to spam the forums)
Reply
#2
Im pretty sure this has nothing to do with that, more than likely you ARE on index always.
You need to be clearer when debugging stuff. Reduce to the most basic variables.

Does the default theme work? What is your url structure , does the view links in page manager work?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2016-08-10, 21:51:56)shawn_a Wrote: Im pretty sure this has nothing to do with that, more than likely you ARE on index always.
You need to be clearer when debugging stuff. Reduce to the most basic variables.

Does the default theme work? What is your url structure , does the view links in page manager work?

Not one theme works.

Index\Home:
website.com/DBlog/
About page:
website.com/DBlog/?page=about


The view links (is it the # icon?) just sends to the page...

Thank you for replying so fast Smile

Edit 1-
I'll try to reinstall GS (different folder), and put my theme inside, and report back.
Reply
#4
I think you may be using an incorrect custom permalink structure like ?page=%slug%
It should be ?id=%slug%
Reply




Users browsing this thread: 2 Guest(s)