test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • tornadoheart Friend
    #152082

    Dear;

    First, I would like to thank the developers of this fantastic template. 🙂 Really I like it :-*

    Now, lets go to the topic —>

    I installed the template in my site successfully, however when I change it to be the default template It didn’t show up :confused:

    It just showed a black header and white body :confused:

    In the header, I found these 2 errors:

    Warning: dir() has been disabled for security reasons in ****/templates/ja_purity_ii/libs/ja.template.helper.php on line 275

    Fatal error: Call to a member function read() on a non-object in ****/templates/ja_purity_ii/libs/ja.template.helper.php on line 278

    Any one could help me in that issue please :(( Thanks in advance

    SORRY FOR MY ENGLISH

    uniquebiz Friend
    #348199

    is your previous template a T3 joomlart template?
    I have never tried to install a T3 based template on a non T3 site
    Perhaps that could be a problem?

    tornadoheart Friend
    #348200

    No, it is a normal template (Jamba)..

    Why it is a problem? As I understood from the documents, it is possible to install T3 templates in any site with joomla!

    Thanks for reply

    uniquebiz Friend
    #348201

    It should be I agree, but who knows with your currents site, extensions, moo tools libs etc? But as with most ppl here, you give no link to a live site so anyone can view the source code, don’t tell us what version of Joomla you’re using etc etc. Just tell us its a 2 yr old free template from Joomlashack your using atm.

    I’d say bite the bullet, backup your db, install Purity II as a new quickstart install to a fresh folder and export your db into it and just load the components, plugins etc again.

    This gives you the opportunity to upgrade the joomla version to the latest and have a 1 template solution with the associate purity II extensions, plug ins

    Up to you really
    Blessings Shannon

    tornadoheart Friend
    #348203

    I have the latest joomla 1.5.18 with only one extension installed (PHPBB3 Ultimos Mensajes)…

    I can’t put the purity_ii as a template for my LIVE site to show you the errors, or my visitors will see empty homepage!!

    Thanks……..

    uniquebiz Friend
    #348208

    I understand,
    Looking at the code which is generating the error.
    //use the directory class
    $imgs = dir($img_folder);

    //read all files from the directory, checks if are images and ads them to a list (see below how to display flash banners)
    while ($file = $imgs->read()) {
    if (eregi(“gif”, $file) || eregi(“jpg”, $file) || eregi(“png”, $file))
    $imglist[] = $file;

    It looks like the install can’t read from a directory and locate images etc
    how about you use the admin backend to uninstall the purity template or manually remove it using FTP
    Then change permissions on your site folders to 755 and try to reinstall the template again.

    This is about all I can think that is the problem, a folder etc has some permissions not set to allow use?
    I hope this may help

    Blessings Shannon

    tornadoheart Friend
    #348209

    That was the first thing came to my mind when I checked the code .. However, I changed the permissions without success .. Then I uninstall and reinstall the purity_ii but the problem remain as it is!!

    In the other hand, all other templates working fine!! And all of them they have also folder for images!!

    Any way.. Thanks for your effort

    uniquebiz Friend
    #348213

    Wondering if its got something to do with eregi being a deprecated function? While I don’t understand php expressions it’s appears its a if then validator. Do a search on eregi here on the forums, I seem to remember some threads on it?

    Blessings Shannon

    tornadoheart Friend
    #348217

    I searched and found this link about eregi… However it doesn’t solve the problem

    Thanks for your kind help

    tornadoheart Friend
    #348260

    Sorry, but still I’m waiting for a solution please ………

    Thanks

    tornadoheart Friend
    #349638

    Today I found a partial answer for my error

    The function dir() was disabled from my host :confused: They said it is a security issue :confused:

    So, could anyone help me to change that function for another… :((

    Thanks

    Saguaros Moderator
    #349774

    oh, you should contact with the hosting service asking them turn on them 🙂

    tornadoheart Friend
    #350250

    <em>@tienhc 186305 wrote:</em><blockquote>oh, you should contact with the hosting service asking them turn on them :)</blockquote>

    Thanks

    I asked them, however they refused!! They said it is a security matter!!

    Is there any replacement for that code?

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 13 replies, has 3 voices, and was last updated by  tornadoheart 14 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum