Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CiteULike issue #80

Closed
gdsaxton opened this issue Feb 13, 2014 · 10 comments
Closed

CiteULike issue #80

gdsaxton opened this issue Feb 13, 2014 · 10 comments

Comments

@gdsaxton
Copy link

Hi,

When I include a citeulike file -- [bibtex file=http://www.citeulike.org/bibtex/user/gregorydsaxton] -- I get the following errors:

Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php on line 822

Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php on line 832

Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/bib2tpl/bibtex_converter.php on line 259

Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/bib2tpl/bibtex_converter.php on line 274

Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/bib2tpl/bibtex_converter.php on line 511

@bpiwowar
Copy link
Owner

I have no errors on my side - but I will add some more messages that can help you see what is wrong in the next version.

@gdsaxton
Copy link
Author

Thanks for checking into it. I can always just upload the bib file to my Wordpress folder and it will work that way. Thanks also for writing the plugin. Definitely helpful.

Sent from my iPhone

On Feb 13, 2014, at 8:04 AM, Benjamin Piwowarski notifications@github.com wrote:

I have no errors on my side - but I will add some more messages that can help you see what is wrong in the next version.


Reply to this email directly or view it on GitHub.

@bpiwowar
Copy link
Owner

Meanwhile, you could try to clean up the cache (in papercite settings) and files in wp-content/plugins/papercite/cache (if you have access to the server files) to see if this solves the problem.

bpiwowar added a commit that referenced this issue Feb 13, 2014
@bpiwowar
Copy link
Owner

Try updating to version 0.5.10 to get more messages (available in a few minutes)

@gdsaxton
Copy link
Author

Hi,
  I just went and cleared out the cache and noticed that my
  wp-includes directory has completely disappeared! So, it might
  take me a few days before I can get back to it and fully test
  everything. 
  Best,
  Greg

@gdsaxton
Copy link
Author

Reinstalled Wordpress and upgraded to 0.5.10. I'm getting these errors:

Notice: Undefined variable: name in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php on line 206

Notice: Trying to get property of non-object in /home/gdsaxton/webapps/cybermetrics/wp-includes/post-template.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php:206) in /home/gdsaxton/webapps/cybermetrics/wp-admin/post.php on line 233

Warning: Cannot modify header information - headers already sent by (output started at /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php:206) in /home/gdsaxton/webapps/cybermetrics/wp-includes/pluggable.php on line 896

@gdsaxton
Copy link
Author

Hi, 
I have been looking all over for where to find the papercite_pdf
class so I can modify it. It doesn't seem to be in papercite.css
or papercite.js or in any of the folders. I must be
missing something simple. Would you mind letting me know? I'm mostly
wondering because it was driving me a bit nuts. I ended up just
creating another class in papercite.css.In case you're interested, this is how it's looking so far:
http://cybermetrics.participatorysociety.org/publications/   It's
the first page I'm working on.
Thanks,
Greg

@bpiwowar
Copy link
Owner

There is nothing in the CSS files - this is intentional - since the basic WordPress CSS is enough for most sites. There is a CSS class in the generated HTML so that people can customize the display using custom CSS. I advise you not to touch any papercite file (they would be overwritten with the new update), but to use a plugin for this:
e.g. http://wordpress.org/plugins/simple-custom-css/

@bpiwowar
Copy link
Owner

In the next version, the last set of warnings should be fixed.

@bpiwowar
Copy link
Owner

Closing, since this should be resolved. Feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants