- Posts: 13
- Thank you received: 0
Sometimes it works, sometimes is doesn't!
-
P15-D24
Inactive member - Topic Author
- New Member
Less
More
13 years 3 months ago #10456
by P15-D24
Sometimes it works, sometimes is doesn't! was created by P15-D24
Tried to load new page of images tonight. Here is the content page:
Photos by Liz Chandler
Friday night cocktail party and Saturday night award dinner!
{photogallery}images/image_upload_dir/2011nats{/photogallery}
Here is the result:
Warning: mkdir() [function.mkdir]: No such file or directory in /usr/www/users/p15d24/mercsail/plugins/content/photogallery/photogallery.php on line 129
Warning: opendir(images/image_upload_dir/2011nats</span><span class="Apple-style-span" style="font-family: Geneva; font-size: 10px; line-height: normal;"><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 18px;">/) [function.opendir]: failed to open dir: No such file or directory in /usr/www/users/p15d24/mercsail/plugins/content/photogallery/photogallery.php on line 105
2011 Nationals, Fun Off The Water...
Photos by Liz Chandler
Friday night cocktail party and Saturday night award dinner!
There are no images in this gallery.
I tried adding the leading and trailing "/", same results. Priv are 777 for image_upload_dir and 2011nats dirs, and all image files are 777. I have 8 other pages using this script and they all work fine. However the last three pages I have set up I ran into the same problem until I changed the directory name a couple times, then it finally loaded. The thumbnail dir is not created in my image directory. Don't seem to be able to make it work this time with directory name changes. Help!
Photos by Liz Chandler
Friday night cocktail party and Saturday night award dinner!
{photogallery}images/image_upload_dir/2011nats{/photogallery}
Here is the result:
Warning: mkdir() [function.mkdir]: No such file or directory in /usr/www/users/p15d24/mercsail/plugins/content/photogallery/photogallery.php on line 129
Warning: opendir(images/image_upload_dir/2011nats</span><span class="Apple-style-span" style="font-family: Geneva; font-size: 10px; line-height: normal;"><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 18px;">/) [function.opendir]: failed to open dir: No such file or directory in /usr/www/users/p15d24/mercsail/plugins/content/photogallery/photogallery.php on line 105
2011 Nationals, Fun Off The Water...
Photos by Liz Chandler
Friday night cocktail party and Saturday night award dinner!
There are no images in this gallery.
I tried adding the leading and trailing "/", same results. Priv are 777 for image_upload_dir and 2011nats dirs, and all image files are 777. I have 8 other pages using this script and they all work fine. However the last three pages I have set up I ran into the same problem until I changed the directory name a couple times, then it finally loaded. The thumbnail dir is not created in my image directory. Don't seem to be able to make it work this time with directory name changes. Help!
Please Log in to join the conversation.
-
P15-D24
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
13 years 3 months ago #10457
by P15-D24
Replied by P15-D24 on topic Re: Sometimes it works, sometimes is doesn't!
And now it is working. :laugh: I copied your script from your webpage, took out the "*", added in my dir names and it worked.
Could some unseen characters from the editor be causing the problem? Next time I will edit the html directly to see if I can isolate the issues better. The working version looks like this: <p>{photogallery}images/image_upload_dir/2011nats{/photogallery}</p>
Are their other html tags they will prevent it from running?
Could some unseen characters from the editor be causing the problem? Next time I will edit the html directly to see if I can isolate the issues better. The working version looks like this: <p>{photogallery}images/image_upload_dir/2011nats{/photogallery}</p>
Are their other html tags they will prevent it from running?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 3 months ago #10461
by ivan.milic
Replied by ivan.milic on topic Re: Sometimes it works, sometimes is doesn't!
Yes , you should always use HTML view when entering that because WYSIWYG editor can insert HTML tags you don't see.
Please Log in to join the conversation.
Time to create page: 0.158 seconds