Skip to content

PHP Warning: strpos() Empty delimiter (while running site on subdomain) #1

@digitalbricks

Description

@digitalbricks

Hello Ralf,

i currently have a website in development running on a subdomain. I use imageTweak and the [[it_gallery]] droplet for resizing images but if i load a page that contains images in the frontent, i get the following PHP warning:

Warning: strpos() [function.strpos]: Empty delimiter in /homepages/(...)/htdocs/web2013/modules/image_tweak/class.filter.php on line 353

(Note: This warning is displayed even the error_reporting() is set to E_NONE in WebsiteBaker settings)

Having this warning, no image is being processed by imageTweak.

After a look at the mentioned file i had the idea that i have to put the subdomain-URL in the imageTweak settings: Admin-Tools --> imageTweak --> Einstellungen --> Domains umschreiben. Having done this setting the warning disappears and the images are scaled and cached correctly. I don't know if the problem is the subdomain or something in imageTweak or the module dependencies. Now it works fine and everything is great. I just want to file this issue for you and others having the same problem.

Best regards
André

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions