HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


attachment upload error...

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#35724 (In Topic #8052)
Avatar

Well-settled

In Cedi area

Hi all,

When I upload a post with only a attachment into the CEDI I got after submit the following error, can this be a bug or something else? The attachtment is placed thats not the problem.
ocPortal version: leatest.

PHP WARNING [2] file_get_contents(/home/fycgron/domains/fyc-gron.nl/public_h
tml/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.
png) [<a href='function.file-get-contents'>function.file-get-contents
</a>]: failed to open stream: No such file or directory (ocPortal version: 3.2.4, PHP version: 4.4.4, URL: /site/index.php?page=cedi&id=1%2F147%2F253&redirect=http%3A%
2F%2Ffyc-gron.nl%2Fsite%2Findex.php%3Fpage%3Dcedi%26type%3Dmi
sc%26id%3D1%252F147%252F253&type=_post)
Here is the stack trace:

Code

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/global2.php'
Line    '728'
Function    'get_html_trace'
Args    

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/global2.php'
Line    '453'
Function    'clean_exit'
Args    
'PHP WARNING [2] file_get_contents(/home/fycgron/domains/fyc-gron.nl/public_html/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.png) [<a href=\'function.file-get-contents\'>function.file-get-contents</a>]: failed to open stream: No such file or directory'

Function    'ocportal_error_handler'
Args    
2

'file_get_contents(/home/fycgron/domains/fyc-gron.nl/public_html/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.png) [<a href=\'function.file-get-contents\'>function.file-get-contents</a>]: failed to open stream: No such file or directory'

'/home/fycgron/domains/fyc-gron.nl/public_html/sources/mail.php'

208

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/mail.php'
Line    '208'
Function    'file_get_contents'
Args    
'/home/fycgron/domains/fyc-gron.nl/public_html/themes/Foundation_Youth_Care/images_custom/46f27cc2dcbc0.png'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/cedi.php'
Line    '92'
Function    'mail_wrap'
Args    
'New CEDI post'

'admin has made a new post on the CEDI system. You may view it using the following link: Kabouter Plop The post is as follows: [quote="admin"][attachment type="island" description=""]15[/attachment][/quote]'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/site/pages/modules/cedi.php'
Line    '854'
Function    'cedi_add_post'
Args    
'253'

'[attachment]new_1[/attachment]'

1

File    '/home/fycgron/domains/fyc-gron.nl/public_html/site/pages/modules/cedi.php'
Line    '246'
Function    '_post'
Class    'module_cedi'
Type    '->'
Args    

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/zones.php'
Line    '324'
Function    'run'
Class    'module_cedi'
Type    '->'
Args    

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/site.php'
Line    '643'
Function    'load_module_page'
Args    
'site/pages/modules/cedi.php'

'cedi'

File    '/home/fycgron/domains/fyc-gron.nl/public_html/sources/site.php'
Line    '514'
Function    'request_page'
Args    
'cedi'

true

File    '/home/fycgron/domains/fyc-gron.nl/public_html/site/index.php'
Line    '42'
Function    'do_site'
Back to the top
 
Posted
Rating:
#35728
Joe
Avatar

Honoured member


Back to the top
 
Posted
Rating:
#35729
Avatar

Well-settled

Problem solved, I had a backup of this picture and set it to this theme, and is working again.

Thanks Joe….
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: