• Resolved carlosalvatore

    (@carlosalvatore)


    I’m using Zotpress v6.1.2.

    In Zotpress page (Section Browse) I see YOUR LIBRARY. Then the first dropdown fills with TopLevel and the second with Loading…

    The Gear turns forever and ever.

    My user id is 1246567

    The server is my PC, I’m running linux so I am willing to set up things properly.

    This is the output of apache acces_log when browsing in wordpres admin zotpress section:

    "GET /wordpress/wp-admin/admin-ajax.php?action=zpRetrieveViaShortcode&api_user_id=1246567&item_type=collections&collection_id=false&request_start=0&request_last=0&sort_by=title&get_top=true&update=false&zpShortcode_nonce=0131adfa33 HTTP/1.1" 200 1
    
    "GET /wordpress/wp-admin/admin-ajax.php?action=zpRetrieveViaShortcode&api_user_id=1246567&item_type=tags&is_dropdown=true&maxtags=&request_start=0&request_last=0&update=false&zpShortcode_nonce=0131adfa33 HTTP/1.1" 200 1
    
    "GET /wordpress/wp-admin/admin-ajax.php?action=zpRetrieveViaShortcode&api_user_id=1246567&is_dropdown=true&item_type=items&citeable=&downloadable=&showimage=1&target=true&urlwrap=&collection_id=false&tag_id=false&get_top=true&sort_by=&order=&update=false&request_start=0&request_last=0&zpShortcode_nonce=0131adfa33 HTTP/1.1" 200 1

    Thanks

    https://www.ads-software.com/plugins/zotpress/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Katie

    (@kseaborn)

    Have you got one of these set up?

    Requirements

    jQuery included in your theme (Zotpress will do this for you if it isn’t already included), and an HTTP request method supported by WordPress enabled on your server: cURL, fopen with Streams (PHP 5), or fsockopen. In your server config file, X-Frame-Options should be set to SAMEORIGIN. Optional: OAuth enabled on your server.

    Thread Starter carlosalvatore

    (@carlosalvatore)

    PHP Version 7.0.4-pl0-gentoo (with cURL)

    './configure' '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--prefix=/usr/lib64/php7.0' '--mandir=/usr/lib64/php7.0/man' '--infodir=/usr/lib64/php7.0/info' '--libdir=/usr/lib64/php7.0/lib' '--with-libdir=lib64' '--localstatedir=/var' '--without-pear' '--enable-maintainer-zts' '--disable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--enable-ctype' <strong>'--with-curl=/usr'</strong> '--enable-dom' '--without-enchant' '--enable-exif' '--enable-fileinfo' '--enable-filter' '--disable-ftp' '--with-gettext=/usr' '--without-gmp' '--enable-hash' '--without-mhash' '--with-iconv' '--disable-intl' '--enable-ipv6' '--enable-json' '--without-kerberos' '--enable-libxml' '--with-libxml-dir=/usr' '--enable-mbstring' '--with-mcrypt=/usr' '--with-onig=/usr' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--disable-pcntl' '--enable-phar' '--disable-pdo' '--enable-opcache' '--without-pgsql' '--enable-posix' '--with-pspell=/usr' '--without-recode' '--enable-simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets' '--without-sqlite3' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-fpm-systemd' '--without-tidy' '--enable-tokenizer' '--disable-wddx' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--enable-zip' '--with-zlib=/usr' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4=/usr' '--disable-flatfile' '--with-gdbm=/usr' '--disable-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--without-interbase' '--with-ldap=/usr' '--without-ldap-sasl' '--with-mysqli=mysqlnd' '--without-mysql-sock' '--without-unixODBC' '--without-iodbc' '--without-oci8' '--with-readline=/usr' '--without-libedit' '--without-mm' '--with-pic' '--with-pcre-regex=/usr' '--with-pcre-dir=/usr' '--with-config-file-path=/etc/php/apache2-php7.0' '--with-config-file-scan-dir=/etc/php/apache2-php7.0/ext-active' '--disable-embed' '--disable-cli' '--disable-cgi' '--disable-fpm' '--with-apxs2=/usr/sbin/apxs' '--disable-phpdbg' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 '-pipe' '-march=native'' 'LDFLAGS=-Wl,-O1 '-Wl,--as-needed'' 'CPPFLAGS=' 'CXXFLAGS=-O2 '-pipe' '-march=native''
    Registered PHP Streams	https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
    Registered Stream Socket Transports	tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2
    Registered Stream Filters	zlib.*, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
    HTTP Request	GET /phpinfo.php HTTP/1.1
    in /etc/apache2/httpd.conf:
    
    Header always append X-Frame-Options SAMEORIGIN
    if(function_exists('fsockopen')) returns fsockopen function is enabled

    What else am I missing?

    Thanks.

    Edit:
    Using Developer Tools of Google chrome I got
    Uncaught TypeError: Cannot read property ‘length’ of undefined
    (zotpress.lib.dropdown.js:165)
    when browsing Zotpress in WP Admin panel

    Plugin Author Katie

    (@kseaborn)

    I’m not sure … I’m not very knowledgeable about the sys admin side of things. Maybe it’s a firewall issue? Zotpress attempts to access the Zotero website, which is external.

    Thread Starter carlosalvatore

    (@carlosalvatore)

    I am not running any firewall. Please fell free to give me instructions for dummies. Thence i may be able of identifying the problem.

    Regards.

    Plugin Author Katie

    (@kseaborn)

    I’m sorry, but I’m not sure how to set up these required modules on the server. Perhaps another Zotpress user can help, or you can search for a tutorial on Google.

    Thread Starter carlosalvatore

    (@carlosalvatore)

    Hi again, I finally figured the problem out.

    I hope this’ll be of help to anyone having the same issue.

    The nickname requested by the plugin is the one appearing under the tag Name in https://www.zotero.org/settings/keys (a.k.a., Key Description)

    Now everything is working properly.

    As always, the real problem was the user not the plugin.

    Katie, thank you for the plugin and for your time.
    I am a big fan of your work.
    Greetings from Mexico City.
    Regards.

    Plugin Author Katie

    (@kseaborn)

    Oh! Thanks for letting us know and glad it’s all sorted out.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Neverending Gear’ is closed to new replies.