Static page creation | Support | Forum

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Static page creation
indexory
Member
Members
Forum Posts: 6
Member Since:
August 30, 2017
sp_UserOfflineSmall Offline
1
August 30, 2017 - 10:02 pm
sp_Permalink sp_Print sp_EditHistory

Hello, I have the latest version of Kliqqi. When I try to create static pages, as soon as I save the content it keeps giving 404 error. I see About exists in the pages. That one works fine until I modify the page and Save it, after which I get the same 404 error. Any help?

Kshitij Kumar
Moderator
Members

Moderators
Forum Posts: 112
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
2
August 30, 2017 - 11:26 pm
sp_Permalink sp_Print

Is your content not saving?
It's happening only after clicking save?

indexory
Member
Members
Forum Posts: 6
Member Since:
August 30, 2017
sp_UserOfflineSmall Offline
3
September 2, 2017 - 1:57 pm
sp_Permalink sp_Print sp_EditHistory

Content not saving and it happens when I click save. I reinstalled the script. This time when I click save after creating a page, I see no information on the page. I looked at the URL and it is omitting the page name. For example, it is supposed to be "/page.php?page=about" but instead I get "/page.php?page=". Also, I checked error log and I get this:

[02-Sep-2017 17:50:15 UTC] PHP Fatal error: TPL: [in line 0]: syntax error: eval: missing 'var' parameter in /public_html/class.template.php on line 949

Quick update: I went through phpmyAdmin through cpanel and added a name for the page under link_title_url. This appears to make the page visible, but again with every SAVE after some changes through the dashboard, the page is blank showing the URL that's missing the page name in it.

Thank you.

Kshitij Kumar
Moderator
Members

Moderators
Forum Posts: 112
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
4
September 3, 2017 - 1:53 am
sp_Permalink sp_Print

When you install kliqqi, a default about page entry is added in kliqqi_links and link_title_url already has the value 'about'.
This is what is added by default:

INSERT INTO `kliqqi_links`

(`link_id`, `link_author`, `link_status`, `link_randkey`, `link_votes`, `link_reports`, `link_comments`, `link_karma`, `link_modified`, `link_date`, `link_published_date`, `link_category`, `link_lang`, `link_url`, `link_url_title`, `link_title`, `link_title_url`, `link_content`, `link_summary`, `link_tags`, `link_field1`, `link_field2`, `link_field3`, `link_field4`, `link_field5`, `link_field6`, `link_field7`, `link_field8`, `link_field9`, `link_field10`, `link_field11`, `link_field12`, `link_field13`, `link_field14`, `link_field15`, `link_group_id`, `link_group_status`, `link_out`)

VALUES

(1, 1, 'page', 0, 0, 0, 0, '0.00', '2017-09-03 00:08:21', '2017-08-30 22:54:23', '0000-00-00 00:00:00', 0, 1, '', NULL, 'About', 'about', '

About Us

Our site allows you to submit an article that will be voted on by other members. The most popular posts will be published to the front page, while the less popular articles are left in an \'New\' page until they acquire the set number of votes to move to the published page. This site is dependent on user contributed content and votes to determine the direction of the site.
', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'new', 0);

Please check if you see any difference in them. link_status should be 'page'.

indexory
Member
Members
Forum Posts: 6
Member Since:
August 30, 2017
sp_UserOfflineSmall Offline
5
September 4, 2017 - 6:25 pm
sp_Permalink sp_Print sp_EditHistory

Thanks for the info. I checked everything matches. However, the only way the pages work for me is if I enter value or name in the link_url_title from phpmyadmin. Without entering name for link_url_title, I get not found or 404 errors. It is no big deal, I do not have many pages to work with. I will manually fix them through phpmyadmin. Thanks.

Forum Timezone: America/New_York

Most Users Ever Online: 27

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Adam Burton: 103

DrCrash: 74

cyrus: 60

lipsmega: 46

OxyThemes: 36

Newest Members:

RapiChat Micro Blog

kabir

geronimo651

Colin

Ricky Sechler

houseremovals

Mark Fisher

Purplescoops

Ashu

Pradeep Kumar

Forum Stats:

Groups: 1

Forums: 8

Topics: 314

Posts: 1718

 

Member Stats:

Guest Posters: 2

Members: 1160

Moderators: 2

Admins: 1

Administrators: ChuckRoast

Moderators: Kshitij Kumar, Mthobisi