-
AuthorPosts
-
June 27, 2010 at 3:10 am #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 Frienduniquebiz
- Join date:
- February 2010
- Posts:
- 596
- Downloads:
- 0
- Uploads:
- 40
- Thanks:
- 33
- Thanked:
- 156 times in 119 posts
June 27, 2010 at 4:04 am #348199is 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?June 27, 2010 at 5:34 am #348200No, 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 Frienduniquebiz
- Join date:
- February 2010
- Posts:
- 596
- Downloads:
- 0
- Uploads:
- 40
- Thanks:
- 33
- Thanked:
- 156 times in 119 posts
June 27, 2010 at 5:42 am #348201It 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 Shannon1 user says Thank You to uniquebiz for this useful post
June 27, 2010 at 6:08 am #348203I 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 Frienduniquebiz
- Join date:
- February 2010
- Posts:
- 596
- Downloads:
- 0
- Uploads:
- 40
- Thanks:
- 33
- Thanked:
- 156 times in 119 posts
June 27, 2010 at 9:03 am #348208I 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 helpBlessings Shannon
June 27, 2010 at 9:46 am #348209That 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 Frienduniquebiz
- Join date:
- February 2010
- Posts:
- 596
- Downloads:
- 0
- Uploads:
- 40
- Thanks:
- 33
- Thanked:
- 156 times in 119 posts
June 27, 2010 at 10:35 am #348213Wondering 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
June 28, 2010 at 6:31 am #348260Sorry, but still I’m waiting for a solution please ………
Thanks
July 12, 2010 at 4:38 am #349638Today 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 13, 2010 at 10:43 am #349774oh, you should contact with the hosting service asking them turn on them 🙂
July 19, 2010 at 12:19 pm #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?
-
AuthorPosts
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