You are here: Pixo Point Support Forum » General Category » All other PixoPoint plugins » Theme Integrator not generating cache files, tryed all fixes

Author Topic: Theme Integrator not generating cache files, tryed all fixes  (Read 453 times)

Pixeled

  • Guest
  • Reply with quote
I'm trying to get the Theme Integrator working on both my local server and remote, but it's not generating the Chunk*.html files on either server.

I've read all the posts here and attempted the fixes suggested but it's still not working.

Heres all the details I can think of that play a part in the problem, any help is much appreciated.

Plugin settings:

Frequency: 10 (seconds)
Post ID: 79 (blog post page, has been reloaded to fire plugin)
All Chunks of text to remove are empty.
Location of html is returning: (R:\DEV\WEB\wordpress/wp-content/uploads/pixopoint-theme-integrator)

Code used in multiple places in header.php and footer.php wordpress theme files:
Code: [Select]
<?php pixopoint_theme_integrator'start''1' ); ?>
<?php pixopoint_theme_integrator'end''2' ); ?>

The code snippet function is executing successfuly, as it is returning the comment replacements in the HTML. (<!-- PixoPoint theme integrator start chunk #1 and heres the end of the integrator text -->)

Permissions have been checked and double checked on both servers, I suspect it's a path problem but all my efforts at manually changing the path variables in core.php have not fixed the problem.

If anyone has sovled this issue please share your fix.

Thanks!
Logged

Ryan

  • Administrator
  • Hero Member
  • *****
  • Posts: 3846
    • WWW
Re: Theme Integrator not generating cache files, tryed all fixes
« Reply #1 on: June 11, 2010, 05:59:42 AM »
  • Reply with quote
Damn. I have no idea what could be causing this :(

Is it creating the folder at \DEV\WEB\wordpress/wp-content/uploads/pixopoint-theme-integrator?

Logged
Available for paid work. Either sign up for Premium Support or use our Contact Page for more information.

Ryan

  • Administrator
  • Hero Member
  • *****
  • Posts: 3846
    • WWW
Re: Theme Integrator not generating cache files, tryed all fixes
« Reply #2 on: June 11, 2010, 06:03:43 AM »
  • Reply with quote
Does your theme include the wp_footer() function?

http://codex.wordpress.org/Function_Reference/wp_footer

The plugin utilises that hook to trigger the start of the chunk processing. So if you were missing it, then none of the files would be created.

I did read an article a while back about how to do callbacks on output buffering to save relying on a hook. So if that is your problem, I can probably find a work-around for it.

Logged
Available for paid work. Either sign up for Premium Support or use our Contact Page for more information.

Pixeled

  • Guest
Re: Theme Integrator not generating cache files, tryed all fixes
« Reply #3 on: June 11, 2010, 11:57:48 AM »
  • Reply with quote
Thanks for your help Ryan.

That does seem to fix the problem, it's creating the directory and files correctly now.

My custom theme did not call wp_footer() at all, i've added the call to my footer.php file and it's working... but I'm not sure what the hook is for? The codex function page doesn't explain much.. all it seems to be doing is echoing the string 'D:/DEV/WEB/wordpress/wp-content/uploads/pixopoint-theme-integrator' into my footer.
Logged

Ryan

  • Administrator
  • Hero Member
  • *****
  • Posts: 3846
    • WWW
Re: Theme Integrator not generating cache files, tryed all fixes
« Reply #4 on: June 11, 2010, 09:13:03 PM »
  • Reply with quote
The wp_footer() hook is required in pretty much all themes as it is utilized by many different plugins to inject code into the page footer, usually javascript.

If you don't have the wp_footer() function in your theme, many plugins simply won't work.


It shouldn't be injecting the uploads folder URL into there though, that sounds very odd. At least the plugin is behaving as expected now though.

Logged
Available for paid work. Either sign up for Premium Support or use our Contact Page for more information.

r2

  • Guest
Re: Theme Integrator not generating cache files, tryed all fixes
« Reply #5 on: August 28, 2010, 12:57:22 PM »
  • Reply with quote
Hi There,

Im having troupl and it seems the folder is not being generated:

"Is it creating the folder at \DEV\WEB\wordpress/wp-content/uploads/pixopoint-theme-integrator?"

No :)

If you have any ideas, that would be great.

The permissions on /uploads are 777

Many thanks for your help.
Logged

Ryan

  • Administrator
  • Hero Member
  • *****
  • Posts: 3846
    • WWW
Re: Theme Integrator not generating cache files, tryed all fixes
« Reply #6 on: September 02, 2010, 10:08:30 AM »
  • Reply with quote
Interesting, this is the second report I've had on this. Perhaps try creating the folder manually. I'll look at fixing this during the next update.
Logged
Available for paid work. Either sign up for Premium Support or use our Contact Page for more information.
 

+ Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
Note: this post will not display until it's been approved by a moderator.
Name: Email:

Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC | DSv4 Design by DzinerStudio