• Resolved frusta

    (@frusta)


    Hello, Trying the free demo, when I try to create a new shortcode it’s asking Name* and Type* dropdown menu…the list is empty, from your demo tutorial there should be a list of things

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    The Free version of the plugin should have the same number of Shortcodes available as the Pro version. The behavior you described is not normal, and it sounds like an issue or a restriction with your server.
    It cannot be a JavaScript conflict with other plugins as the dropdown menu of Shortcodes available is generated via PHP. It looks like the system is unable to read/parse certain files, since the available Shortcodes are read from XML files.

    What we suggest is to ask your hosting company whether your server has some restrictions with the file permissions, or if your PHP installation is missing the SimpleXML library, which is required to parse the XML files and generate the list of Shortcodes. This library usually ships with any PHP installation starting from the 5.4, but it can be disabled.
    Vik Booking supports any kind of OS for servers, Windows and Linux, so the problem is most likely related to one of the issues I described above.

    For any other questions we kindly invite you to use the contact forms on our website or to open a Support Ticket.

    [ Signature deleted ]

    • This reply was modified 5 years, 8 months ago by Jan Dembowski.

    The same goes for me. I love to try this plugin. but the type in shortcode was empty. Im using a localhost for development. I downloaded the latest version of xampp with php5.6 in it. The PHP said that the simplexml was built in in this version but still the list was empty. I stll upgrade to PHP7 but still no. Im already doubting if this is the host part. Im developing a website to present to my client using this and the channel manager so please fix this.

    Plugin Author e4jvikwp

    (@e4jvikwp)

    @froztwind we support both Windows and Linux (any) operating systems for servers, and this is working for all the rest of our clients. There has been only two cases of this limitation with the parsing of the XML files.
    If there was an issue, we would be able to reproduce it on our servers because of course we cannot operate on your local environment.
    In any case, especially if you are willing to use also the complementary Channel Manager plugin, sooner or later you will have to move the website onto a live domain.
    Given the situation, we are unable to check why PHP cannot parse the XML files on your WAMP installation. If you move the website on a real domain you can get in touch with our staff from our website and we will help you in case you still face the same issue. You probably won’t though.

    Plugin Author e4jvikwp

    (@e4jvikwp)

    @froztwind our programmers have investigated more on this issue, and we have found out that a Regex was actually the cause of the problem on Windows OS for its backslash as directory separator.
    We have just released the new version 1.1.3 so we can consider this issue as resolved. Updating to the latest version is obviously necessary.
    VikWP.com

    @e4jvikwp, I have a similar problem, the list of shortcodes is empty and when I try to create one, I do not believe it and the log shows me the following error:

    2019/04/16 17:16:36 [error] 739#739: *597 FastCGI sent in stderr: “PHP message: PHP Warning: in_array() expects parameter 2 to be array, string given in /var/www/clients/client3/web3/web/wp-content/plugins/vikbooking/libraries/html/form/fields/list.php on line 51
    PHP message: PHP Warning: in_array() expects parameter 2 to be array, string given in /var/www/clients/client3/web3/web/wp-content/plugins/vikbooking/libraries/html/form/fields/list.php on line 51” while reading response header from upstream, client: 192.168.1.33, server: xxxx.com, request: “POST /wp-admin/admin-ajax.php?option=com_vikbooking&task=shortcode.params HTTP/1.1”, upstream: “fastcgi://unix:/var/lib/php7.0-fpm/web3.sock:”, host: “xxxx.com”, referrer: “https://xxxx.com/wp-admin/admin.php”
    2019/04/16 17:16:55 [error] 739#739: *597 FastCGI sent in stderr: “PHP message: PHP Warning: Creating default object from empty value in /var/www/clients/client3/web3/web/wp-content/plugins/vikbooking/admin/models/shortcode.php on line 200” while reading response header from upstream, client: 192.168.1.33, server: xxxx.com, request: “POST /wp-admin/admin.php HTTP/1.1”, upstream: “fastcgi://unix:/var/lib/php7.0-fpm/web3.sock:”, host: “xxxx.com”, referrer: “https://xxxx.com/wp-admin/admin.php”

    I have not yet been able to test your plugin but it looks good, i would like to try it in more depth before buying.
    thx!

    • This reply was modified 5 years, 7 months ago by rauval.
    • This reply was modified 5 years, 7 months ago by rauval.
    Plugin Author e4jvikwp

    (@e4jvikwp)

    @rauval The messages you see are just PHP warnings that should not cause any critical errors. If you are seeing an empty list of shortcodes, the problem might be somewhere else (e.g. a file permissions error).

    Anyhow, we are going to release the new 1.1.7 version of the program soon, in order to fix such type of warnings. We hope that it will solve this problem too.

    Should you see the list empty again, please just come back to us.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘List of Shortcodes empty?’ is closed to new replies.