Tagged: class-piklist.php, wamp, windows
- This topic has 13 replies, 4 voices, and was last updated 7 years, 10 months ago by
Marcus.
-
AuthorPosts
-
-
February 25, 2014 at 12:45 pm #1457
dennis977MemberWindows: 8.1
WordPress: 3.8.1
both pages are blank -
February 25, 2014 at 12:56 pm #1458
dennis977MemberShould have added: Piklist version is 0.93
-
February 25, 2014 at 2:01 pm #1461
SteveKeymaster@dennis977– We’re currently having issues with Windows machines. Hope to get this fixed in the next few weeks.
-
March 20, 2014 at 10:50 am #1579
cjwebdesignttMemberHi
I am having this issues as well.
Piklist 0.9.3.1
Windows 7
wampIt was working one minute and next minute it was blank. I can see my piklist post type producing the necessary custom post types
as well as the meta box title but the fields are not showing up.This is after a clean wordpress install to fix another bug piklist stopped working after updating from WordPress dashboard from 0.9.3 to 0.9.3.1. I uninstalled it but could reinstall because for some reason it locked file permissions to the plugins folder in wp-content and could not create the folder to reinstall.
-
March 20, 2014 at 5:12 pm #1581
SteveKeymaster@cjwebdesigntt– Not 100% clear on this. Can you use FTP to upload the files?
-
March 20, 2014 at 5:43 pm #1583
cjwebdesignttMemberOk let me clarify as much as possible.
I’m working on my local development machine which is a Windows 7 machine running Wamp to run WordPress 3.8.1 etc.Problem 1: About and Settings Page for Piklist Plugin (v 0.9.3.1) are both blank.
Problem 2: I believe as a result of Problem 1, my metabox fields are not showing up. I can see the metabox with its title but its blank. The metabox fields are created by custom post types using my own custom post type plugin ( which is a piklist plugin)
Problem 3: A previous install of WordPress had 0.9.3 and I updated to 0.9.3.1 and it stopped working giving the following errors:
Notice:Undefined variable: Notice: Undefined variable: _part in C:\wamp\www\wpthemetester\wp-content\plugins\piklist\includes\class-piklist.php on line 208Notice: Undefined variable: _part in C:\wamp\www\wpthemetester\wp-content\plugins\piklist\includes\class-piklist.php on line 210
Warning: include(C:\wamp\www\wpthemetester\wp-content\themes\cjwebdesign\piklist): failed to open stream: Permission denied in C:\wamp\www\wpthemetester\wp-content\plugins\piklist\includes\class-piklist.php on line 272
Warning: include(): Failed opening ‘C:\wamp\www\wpthemetester/wp-content/themes/cjwebdesign/piklist’ for inclusion (include_path=’.;C:\php\pear’) in C:\wamp\www\wpthemetester\wp-content\plugins\piklist\includes\class-piklist.php on line 272
I have the correct permissions. I tried chmod’ing other permissions settings and nothing has worked.
Please Advised.
-
-
March 20, 2014 at 7:17 pm #1584
MarcusMemberHey CJ, take a look at this gist:
https://gist.github.com/marcuseby/9676104It’s what I’ve done with my piklist class file to get it working on windows 7/wamp.
Specifically, check the pathing changes, and the render function which was where I was getting all my errors and where you are too.
It’s 0.9.3 but it’ll give you an idea of what to change for your template, and parts pathing.
Hope this helps.
If you have a program such as Beyond Compare, you’ll be able to see the changes quite easily and make the adjustments you need too.
Marcus
-
March 21, 2014 at 9:55 pm #1592
cjwebdesignttMemberHi Marcus,
Thanks for the suggestion but that did not solve the problem. -
March 23, 2014 at 9:01 pm #1600
cjwebdesignttMemberAn update to this problem. The errors above only happen when the folder structure ( piklist/parts/etc….) are added to the theme.
In fact just adding an empty piklist folder triggers the errors.I still don’t understand why this is happening.
-
March 23, 2014 at 9:41 pm #1601
cjwebdesignttMemberMarcus I tried making your edits.
But I get an error on one of your changes line 208:
$spt = self::$paths[$_theme];NOTICE: C:\wamp\www\tap\plugins\piklist\includes\class-piklist.php:208 - Undefined index: parent-theme -
March 23, 2014 at 10:11 pm #1602
MarcusMemberIt makes me wonder about your folder structure…
Mine is:
themename/piklist/parts/etc…Is that the same structure?
Also, I’m not using a child theme.
Marcus
-
March 23, 2014 at 10:15 pm #1603
MarcusMemberTry changing lines 208-211 to this:
$spt = (isset(self::$paths[$_theme]))?self::$paths[$_theme]:null; if (isset($spt)) { $spt = substr($spt,0,strlen($spt)-8); // EDITED BY MARCUSMarcus
-
March 23, 2014 at 11:50 pm #1605
cjwebdesignttMemberThanks much Marcus, I was getting so frustrated. You are a Godsend.
That last thing worked.My theme is a child theme with theme_name/piklist/parts/etc as usual.
Thanks again so much. I guess I have to keep this edit file handy if there is another update to the piklist plugin. So annoying.
On a totally unrelated matter: Do you have experience with getting advanced group add_more fields values displaying on the front end?
See thread post: HERE -
March 24, 2014 at 4:03 am #1607
MarcusMember
-
-
AuthorPosts
- You must be logged in to reply to this topic.